summaryrefslogtreecommitdiff
path: root/examples/device
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
parentbdd557caf14b8987729fd73f11ccef7a29e7045d (diff)
fix ci
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/mtp/src/main.c5
-rw-r--r--examples/device/mtp/src/mtp_fs_example.c2
2 files changed, 1 insertions, 6 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
diff --git a/examples/device/mtp/src/mtp_fs_example.c b/examples/device/mtp/src/mtp_fs_example.c
index 09a5f4ffc..d47ec41b8 100644
--- a/examples/device/mtp/src/mtp_fs_example.c
+++ b/examples/device/mtp/src/mtp_fs_example.c
@@ -36,8 +36,6 @@
#define DEV_INFO_MANUFACTURER "TinyUSB"
#define DEV_INFO_MODEL "MTP Example"
#define DEV_INFO_VERSION "1.0"
-#define DEV_INFO_SERIAL "123456"
-
#define DEV_PROP_FRIENDLY_NAME "TinyUSB MTP"
//------------- storage info -------------//