diff options
| author | Ha Thach <[email protected]> | 2023-08-04 11:48:04 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-04 11:48:04 +0700 |
| commit | 1b04db2a777c3bac88c964f8171af0928a55477d (patch) | |
| tree | 37d65952d6560d8e6a3580379dcd2a3f90860a41 /examples/device/hid_multiple_interface/src/main.c | |
| parent | 2029ca9536e7e889f0f420218136e7bd1ac091fc (diff) | |
| parent | de4ad2c7754cd2b11a4a9afafbc82766eccea3b2 (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'examples/device/hid_multiple_interface/src/main.c')
| -rw-r--r-- | examples/device/hid_multiple_interface/src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/device/hid_multiple_interface/src/main.c b/examples/device/hid_multiple_interface/src/main.c index 72240b208..516c342fa 100644 --- a/examples/device/hid_multiple_interface/src/main.c +++ b/examples/device/hid_multiple_interface/src/main.c @@ -27,7 +27,7 @@ #include <stdio.h> #include <string.h> -#include "bsp/board.h" +#include "bsp/board_api.h" #include "tusb.h" //--------------------------------------------------------------------+ @@ -64,6 +64,10 @@ int main(void) // init device stack on configured roothub port tud_init(BOARD_TUD_RHPORT); + if (board_init_after_tusb) { + board_init_after_tusb(); + } + while (1) { tud_task(); // tinyusb device task |
