summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-11-19 15:55:17 +0700
committerGitHub <[email protected]>2025-11-19 15:55:17 +0700
commit35447b7e36150ad730854a766feef027c52baf2b (patch)
treed56b2177e70e0a0d9124c7d15f270f65c6fa2bdb /examples/host
parentd46f71bdde8b3160b0efaf83598d6b4cf596f787 (diff)
parent4b92d325beb0483584004b5005ab67d39f06a45d (diff)
Merge pull request #3295 from hathach/dwc2_ep0
dcd/dwc2: fix EP0 multi-packet transfer logic
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/device_info/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/host/device_info/src/main.c b/examples/host/device_info/src/main.c
index f71702efc..5b914a2ee 100644
--- a/examples/host/device_info/src/main.c
+++ b/examples/host/device_info/src/main.c
@@ -99,6 +99,7 @@ int main(void) {
#if CFG_TUSB_OS == OPT_OS_FREERTOS
init_freertos_task();
#else
+ board_delay(100); // wait for uart to be ready
init_tinyusb();
while (1) {
tuh_task(); // tinyusb host task
@@ -289,6 +290,7 @@ void app_main(void) {
void usb_host_task(void *param) {
(void) param;
+ board_delay(100); // wait for uart to be ready
init_tinyusb();
while (1) {
tuh_task();