diff options
| author | hathach <[email protected]> | 2023-08-04 00:31:12 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-04 00:31:12 +0700 |
| commit | ef5bd9ee6cc2506745c0c5d602d4c540da681b69 (patch) | |
| tree | cf25b4da1827914720fed5b3abb78029da280e7c /examples/device/dfu/src | |
| parent | 9360a3bd5197792584ede8a33c50a4d3054d84e6 (diff) | |
| parent | 6d03bb9ffc4c80a0c2663f0b791856af89e20adc (diff) | |
Merge branch 'master' into enhance-bsp
Diffstat (limited to 'examples/device/dfu/src')
| -rw-r--r-- | examples/device/dfu/src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/device/dfu/src/main.c b/examples/device/dfu/src/main.c index ab9697a87..748e6a5c8 100644 --- a/examples/device/dfu/src/main.c +++ b/examples/device/dfu/src/main.c @@ -77,6 +77,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 |
