update all host examples

This commit is contained in:
hathach
2022-06-06 23:16:49 +07:00
parent 9794a2b865
commit 7c8278303b
9 changed files with 141 additions and 103 deletions

View File

@@ -79,7 +79,9 @@ int main(void)
printf("TinyUSB Host HID <-> Device CDC Example\r\n");
tusb_init();
// init device and host stack on configured roothub port
tud_init(BOARD_TUD_RHPORT);
tuh_init(BOARD_TUH_RHPORT);
while (1)
{