diff options
| author | HiFiPhile <[email protected]> | 2024-04-29 22:22:59 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-04-29 22:22:59 +0200 |
| commit | bf1540af4c3a57245b946c8622454c05e7fc098e (patch) | |
| tree | 9ed0573097d821696b8775e4826cd555b26bdb1b /examples/host/hid_controller/src/main.c | |
| parent | cba327fc384ae730287b0ab620d1f7ef50b0da3b (diff) | |
| parent | 1c04d5992a020aefe16ffb2acce62d84d4899395 (diff) | |
Merge branch 'master' of https://github.com/hathach/tinyusb into pr/2132
Diffstat (limited to 'examples/host/hid_controller/src/main.c')
| -rw-r--r-- | examples/host/hid_controller/src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/host/hid_controller/src/main.c b/examples/host/hid_controller/src/main.c index 4dcc92587..05a5ae176 100644 --- a/examples/host/hid_controller/src/main.c +++ b/examples/host/hid_controller/src/main.c @@ -32,7 +32,7 @@ #include <stdio.h> #include <string.h> -#include "bsp/board.h" +#include "bsp/board_api.h" #include "tusb.h" //--------------------------------------------------------------------+ @@ -54,6 +54,10 @@ int main(void) // init host stack on configured roothub port tuh_init(BOARD_TUH_RHPORT); + if (board_init_after_tusb) { + board_init_after_tusb(); + } + while (1) { // tinyusb host task |
