summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-03-26 15:20:27 +0700
committerhathach <[email protected]>2025-03-26 15:20:27 +0700
commit69dca9518c516c48ad013ea00c11bbf1746ada9a (patch)
tree2af3f4da065a0a6c3f4d62d169e0be63ec5b081f /examples
parent73e810a7ba73a54c0bd074e86a18b6e2954057fa (diff)
added mimxrt1064_evk to hil test pool
Diffstat (limited to 'examples')
-rw-r--r--examples/dual/host_info_to_device_cdc/src/main.c3
1 files changed, 2 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 c1017141c..7e593f234 100644
--- a/examples/dual/host_info_to_device_cdc/src/main.c
+++ b/examples/dual/host_info_to_device_cdc/src/main.c
@@ -142,7 +142,7 @@ void cdc_task(void) {
if (!tud_cdc_connected()) {
// delay a bit otherwise we can outpace host's terminal. Linux will set LineState (DTR) then Line Coding.
// If we send data before Linux's terminal set Line Coding, it can be ignored --> missing data with hardware test loop
- board_delay(10);
+ board_delay(20);
return;
}
@@ -151,6 +151,7 @@ void cdc_task(void) {
if (is_print[daddr]) {
is_print[daddr] = false;
print_device_info(daddr, &descriptor_device[daddr]);
+ tud_cdc_write_flush();
}
}
}