diff options
| author | sakumisu <[email protected]> | 2022-03-23 22:15:47 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-03-23 22:15:47 +0800 |
| commit | 110f7c2c338b2157dc6585f224879136a4a47321 (patch) | |
| tree | 721c812dffede18f9136b3152a542dba11ffa9ce | |
| parent | c30eeba8338ad4c7ef9ebd02149f633467a482e8 (diff) | |
disable fatfs demo
| -rw-r--r-- | demo/usb_host.c | 8 |
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; |
