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

@@ -62,8 +62,10 @@ int main(void)
{
board_init();
printf("TinyUSB Host HID Controller Example\r\n");
tusb_init();
printf("TinyUSB Bare API Example\r\n");
// init host stack on configured roothub port
tuh_init(BOARD_TUH_RHPORT);
while (1)
{