summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-11-07 16:31:17 +0700
committerGitHub <[email protected]>2025-11-07 16:31:17 +0700
commit5d351828cbb077e41463a31d285ca001250e85da (patch)
tree775c1c07b4c8b7d9c59d42d948ac8cda5bcb0ebf /src/class/cdc
parent9fac6dd49d9cd681ed9140c124d3001b6d1491be (diff)
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index f30f93bc6..6f21af4f3 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -62,7 +62,7 @@ TU_VERIFY_STATIC(sizeof(tud_cdc_configure_t) == 1, "size is not correct");
#define TUD_CDC_CONFIGURE_DEFAULT() { \
.rx_persistent = false, \
.tx_persistent = false, \
- .tx_overwritabe_if_not_connected = false, \
+ .tx_overwritabe_if_not_connected = true, \
}
// Configure CDC driver behavior