summaryrefslogtreecommitdiff
path: root/examples/device/mtp/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-09-29 15:32:53 +0700
committerhathach <[email protected]>2025-09-29 15:32:53 +0700
commitff492dc2b6c9da4fc6ab7f080435a5cb3e7be1c4 (patch)
tree170dec462d5722e712ed3f900f401a820696e2f1 /examples/device/mtp/src/main.c
parentbdd557caf14b8987729fd73f11ccef7a29e7045d (diff)
fix ci
Diffstat (limited to 'examples/device/mtp/src/main.c')
-rw-r--r--examples/device/mtp/src/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/device/mtp/src/main.c b/examples/device/mtp/src/main.c
index 709aeb16f..57d1535b2 100644
--- a/examples/device/mtp/src/main.c
+++ b/examples/device/mtp/src/main.c
@@ -59,10 +59,7 @@ int main(void) {
.speed = TUSB_SPEED_AUTO
};
tusb_init(BOARD_TUD_RHPORT, &dev_init);
-
- if (board_init_after_tusb) {
- board_init_after_tusb();
- }
+ board_init_after_tusb();
while (1) {
tud_task(); // tinyusb device task