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/bare_api/src/main.c | |
| parent | 9794a2b865df81e667b464481bb9b1c70587e64b (diff) | |
update all host examples
Diffstat (limited to 'examples/host/bare_api/src/main.c')
| -rw-r--r-- | examples/host/bare_api/src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c index eb3f7d8d7..2cc05d34d 100644 --- a/examples/host/bare_api/src/main.c +++ b/examples/host/bare_api/src/main.c @@ -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) { |
