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

@@ -49,9 +49,10 @@ int main(void)
board_init();
printf("TinyUSB Host HID Controller Example\r\n");
printf("Note: Events only displayed for explictly supported controllers\r\n");
printf("Note: Events only displayed for explicit supported controllers\r\n");
tusb_init();
// init host stack on configured roothub port
tuh_init(BOARD_TUH_RHPORT);
while (1)
{