From 110f7c2c338b2157dc6585f224879136a4a47321 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Wed, 23 Mar 2022 22:15:47 +0800 Subject: [PATCH] disable fatfs demo --- demo/usb_host.c | 8 ++++---- 1 file 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;