diff options
| author | hathach <[email protected]> | 2022-06-06 22:41:04 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-06 22:41:04 +0700 |
| commit | 9794a2b865df81e667b464481bb9b1c70587e64b (patch) | |
| tree | 1efc9a14f8077844357e69e306bd2796d090caf0 /examples/device/dfu_runtime/src/main.c | |
| parent | f4c80dd218240d934a28cb21d8ddd6a0e3a33fe5 (diff) | |
more example update
Diffstat (limited to 'examples/device/dfu_runtime/src/main.c')
| -rw-r--r-- | examples/device/dfu_runtime/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/dfu_runtime/src/main.c b/examples/device/dfu_runtime/src/main.c index 823c71ae5..55b380353 100644 --- a/examples/device/dfu_runtime/src/main.c +++ b/examples/device/dfu_runtime/src/main.c @@ -69,7 +69,8 @@ int main(void) { board_init(); - tusb_init(); + // init device stack on configured roothub port + tud_init(BOARD_TUD_RHPORT); while (1) { |
