diff options
| author | hathach <[email protected]> | 2023-07-31 19:09:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-07-31 19:09:40 +0700 |
| commit | 3f788a4e5a7758ce51cbcadef4ac21e427cc3c56 (patch) | |
| tree | e804bef2676cc9cd9e6506c9b83aebae36403a83 /examples/device/hid_boot_interface/src/main.c | |
| parent | cb47231518d8a33bb9c5ab710c819049274d443b (diff) | |
enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
Diffstat (limited to 'examples/device/hid_boot_interface/src/main.c')
| -rw-r--r-- | examples/device/hid_boot_interface/src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/device/hid_boot_interface/src/main.c b/examples/device/hid_boot_interface/src/main.c index 1a155996a..47f68f8fa 100644 --- a/examples/device/hid_boot_interface/src/main.c +++ b/examples/device/hid_boot_interface/src/main.c @@ -59,6 +59,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 |
