summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-19 15:57:07 +0700
committerhathach <[email protected]>2025-11-19 15:57:07 +0700
commit21ef00fc87caebb4dac7a3117260670264598e9d (patch)
tree7ed90345f5d4217a489feb5bcc97315257439513 /examples/host
parent98f7b0c7ba03fd770616195a6312e1bb65e5155f (diff)
parent35447b7e36150ad730854a766feef027c52baf2b (diff)
Merge branch 'master' into fork/HiFiPhile/dwc2_iso_incomp
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();