summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc_hid/src/msc_disk_ram.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-22 11:36:50 +0700
committerhathach <[email protected]>2018-11-22 11:36:50 +0700
commitd7e48f307bb77e8e6a55967d9b94c7218f267e83 (patch)
treed6737b627eb15bff1a55e37c6bfcbea93bc4d22f /examples/device/cdc_msc_hid/src/msc_disk_ram.c
parentbdded75ad9bbe632024fd914ccec03cafd5f2a27 (diff)
clean up msc example
Diffstat (limited to 'examples/device/cdc_msc_hid/src/msc_disk_ram.c')
-rw-r--r--examples/device/cdc_msc_hid/src/msc_disk_ram.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/device/cdc_msc_hid/src/msc_disk_ram.c b/examples/device/cdc_msc_hid/src/msc_disk_ram.c
index c27105f8e..89711ad32 100644
--- a/examples/device/cdc_msc_hid/src/msc_disk_ram.c
+++ b/examples/device/cdc_msc_hid/src/msc_disk_ram.c
@@ -36,10 +36,16 @@
*/
/**************************************************************************/
-#include "msc_app.h"
+#include "bsp/board.h"
+#include "tusb.h"
#if CFG_TUD_MSC
+#define README_CONTENTS \
+"This is tinyusb's MassStorage Class demo.\r\n\r\n\
+If you find any bugs or get any questions, feel free to file an\r\n\
+issue at github.com/hathach/tinyusb"
+
enum
{
DISK_BLOCK_NUM = 16, // 8KB is the smallest size that windows allow to mount