summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 -------------//