diff options
| author | HiFiPhile <[email protected]> | 2025-09-17 23:19:35 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-09-17 23:44:01 +0200 |
| commit | be9409bfa738f00dc70d5e5bb99c0d9d61b69a34 (patch) | |
| tree | d7a06f922280d24153a5d9eb7b7a1c7ea4b3b954 /examples/dual | |
| parent | 50949eb3b9aa56a38b318f3e568a682e39f4b72e (diff) | |
Fix board_init_after_tusb
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/dual')
| -rw-r--r-- | examples/dual/host_hid_to_device_cdc/src/main.c | 4 | ||||
| -rw-r--r-- | examples/dual/host_info_to_device_cdc/src/main.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/dual/host_hid_to_device_cdc/src/main.c b/examples/dual/host_hid_to_device_cdc/src/main.c index 6f30ca381..8c53588c3 100644 --- a/examples/dual/host_hid_to_device_cdc/src/main.c +++ b/examples/dual/host_hid_to_device_cdc/src/main.c @@ -91,9 +91,7 @@ int main(void) { }; tusb_init(BOARD_TUH_RHPORT, &host_init); - if (board_init_after_tusb) { - board_init_after_tusb(); - } + board_init_after_tusb(); while (1) { tud_task(); // tinyusb device task diff --git a/examples/dual/host_info_to_device_cdc/src/main.c b/examples/dual/host_info_to_device_cdc/src/main.c index a2a505952..67e905b9d 100644 --- a/examples/dual/host_info_to_device_cdc/src/main.c +++ b/examples/dual/host_info_to_device_cdc/src/main.c @@ -113,9 +113,7 @@ int main(void) { }; tusb_init(BOARD_TUH_RHPORT, &host_init); - if (board_init_after_tusb) { - board_init_after_tusb(); - } + board_init_after_tusb(); while (1) { tud_task(); // tinyusb device task |
