summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-03-23 22:15:47 +0800
committersakumisu <[email protected]>2022-03-23 22:15:47 +0800
commit110f7c2c338b2157dc6585f224879136a4a47321 (patch)
tree721c812dffede18f9136b3152a542dba11ffa9ce
parentc30eeba8338ad4c7ef9ebd02149f633467a482e8 (diff)
disable fatfs demo
-rw-r--r--demo/usb_host.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demo/usb_host.c b/demo/usb_host.c
index 90210f47..07dcc369 100644
--- a/demo/usb_host.c
+++ b/demo/usb_host.c
@@ -67,9 +67,9 @@ int cdc_acm_test(void)
return ret;
#endif
}
-
+#if 0
#include "ff.h"
-
+#endif
int msc_test(void)
{
int ret;
@@ -78,7 +78,7 @@ int msc_test(void)
printf("do not find /dev/sda\r\n");
return -1;
}
-#if 0
+#if 1
/* get the partition table */
uint8_t *partition_table = usb_iomalloc(1024);
ret = usbh_msc_scsi_read10(msc_class, 0, partition_table, 1);
@@ -105,7 +105,7 @@ int msc_test(void)
// printf("\r\n");
#endif
-#if 1
+#if 0
FATFS fs;
FIL fnew;