summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-03-12 15:22:52 +0700
committerhathach <[email protected]>2026-03-12 15:22:52 +0700
commit222af862aa2b3898980e3ed8f28e70fe6c9a7ee9 (patch)
treeae908c320d7c3b750de17c06337314c08e59b9eb /examples
parentac61a5b176b44db503d8bcc287a622463b65e48e (diff)
refactor(cdc): remove runtime CDC driver configuration in favor of compile-time macros for simplicity and reduced complexity
Diffstat (limited to 'examples')
-rw-r--r--examples/dual/host_info_to_device_cdc/src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/dual/host_info_to_device_cdc/src/main.c b/examples/dual/host_info_to_device_cdc/src/main.c
index fe2199a69..cf3430464 100644
--- a/examples/dual/host_info_to_device_cdc/src/main.c
+++ b/examples/dual/host_info_to_device_cdc/src/main.c
@@ -106,10 +106,6 @@ static void usb_device_init(void) {
.speed = TUSB_SPEED_AUTO
};
tusb_init(BOARD_TUD_RHPORT, &dev_init);
- tud_cdc_configure_t cdc_cfg = CFG_TUD_CDC_CONFIGURE_DEFAULT();
- cdc_cfg.tx_persistent = true;
- cdc_cfg.tx_overwritabe_if_not_connected = false;
- tud_cdc_configure(&cdc_cfg);
board_init_after_tusb();
}