diff options
| author | hathach <[email protected]> | 2022-06-06 23:16:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-06 23:16:49 +0700 |
| commit | 7c8278303bc14770ea9fcd9f6e4a9dbba32572e3 (patch) | |
| tree | dddfac5e4042638632d7187835733cde2a911029 /examples/host/hid_controller/src/main.c | |
| parent | 9794a2b865df81e667b464481bb9b1c70587e64b (diff) | |
update all host examples
Diffstat (limited to 'examples/host/hid_controller/src/main.c')
| -rw-r--r-- | examples/host/hid_controller/src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/host/hid_controller/src/main.c b/examples/host/hid_controller/src/main.c index b9b37a4d2..299a3ff10 100644 --- a/examples/host/hid_controller/src/main.c +++ b/examples/host/hid_controller/src/main.c @@ -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) { |
