summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-03-13 00:41:09 +0700
committerGitHub <[email protected]>2026-03-13 00:41:09 +0700
commit1fcb49fc638635337dc3d757767428bc3cb8c4b7 (patch)
treec5e382bc885812eeb0c1c880a9534dba3da33857 /examples
parentac61a5b176b44db503d8bcc287a622463b65e48e (diff)
parentc6e13e8c15fc6372589b685f5aa4ee60f0cd28f7 (diff)
Merge pull request #3549 from hathach/remove-cdc-configure
remove tud cdc configure
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();
}