summaryrefslogtreecommitdiffstats
path: root/watch-library/hardware/watch/tusb_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/hardware/watch/tusb_config.h')
-rw-r--r--watch-library/hardware/watch/tusb_config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/watch-library/hardware/watch/tusb_config.h b/watch-library/hardware/watch/tusb_config.h
index a22b2b99..0f6205e0 100644
--- a/watch-library/hardware/watch/tusb_config.h
+++ b/watch-library/hardware/watch/tusb_config.h
@@ -72,7 +72,7 @@
//------------- CLASS -------------//
#define CFG_TUD_CDC 1
-#define CFG_TUD_MSC 0
+#define CFG_TUD_MSC 1
#define CFG_TUD_HID 0
#define CFG_TUD_MIDI 0
#define CFG_TUD_VENDOR 0
@@ -84,6 +84,9 @@
// CDC Endpoint transfer buffer size, more is faster
#define CFG_TUD_CDC_EP_BUFSIZE (64)
+// MSC Buffer size of Device Mass storage
+#define CFG_TUD_MSC_EP_BUFSIZE 512
+
#ifdef __cplusplus
}
#endif