diff options
| author | hathach <[email protected]> | 2024-04-09 20:26:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-09 22:04:43 +0700 |
| commit | 2bce68a065aa873ffd738b5a90639b3b4b18d2c2 (patch) | |
| tree | c1a2bfc42a3be56b4751969681005665dfaf90ad /examples/host/hid_controller/src/main.c | |
| parent | 75cf8e21a7e525eb24b7fd34fe5859cba331fcc2 (diff) | |
| parent | 68a08e33d2a1a3b02a28c616bc825eb674700833 (diff) | |
Merge branch 'master' into dwc2-interrupts
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 |
