summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-03-11 20:11:41 +0700
committerhathach <[email protected]>2026-03-11 20:11:41 +0700
commitd74559ab70c7c4804ee8cf65d9c65d910af06870 (patch)
treebd2f424816fc04e2b7b2988439fd2473901f722d /examples
parentd13f600721671a603579350be1e9c935a0d40547 (diff)
rename .rx_multiple_packet_transfer to .rx_need_zlp
Diffstat (limited to 'examples')
-rw-r--r--examples/dual/host_info_to_device_cdc/src/main.c2
1 files changed, 1 insertions, 1 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 7cf43aef3..fe2199a69 100644
--- a/examples/dual/host_info_to_device_cdc/src/main.c
+++ b/examples/dual/host_info_to_device_cdc/src/main.c
@@ -106,7 +106,7 @@ static void usb_device_init(void) {
.speed = TUSB_SPEED_AUTO
};
tusb_init(BOARD_TUD_RHPORT, &dev_init);
- tud_cdc_configure_t cdc_cfg = TUD_CDC_CONFIGURE_DEFAULT();
+ 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);