diff options
| author | sakumisu <[email protected]> | 2022-09-12 21:45:48 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-09-12 21:45:48 +0800 |
| commit | 3d0b58bb4e49bfddcc58e7f8b49dc43af3ddd78f (patch) | |
| tree | eab93dd9a6bb800bc99c4bf0c9f3c65ea7ca679e | |
| parent | 2db0dc9a7e0aa9bdd46426906d974d6e94d6d1c1 (diff) | |
move fatfs variables into no cache ram
| -rw-r--r-- | demo/usb_host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/usb_host.c b/demo/usb_host.c index 129752e6..97c6adf1 100644 --- a/demo/usb_host.c +++ b/demo/usb_host.c @@ -77,8 +77,8 @@ int cdc_acm_test(void) USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t read_write_buffer[25 * 100]; -FATFS fs; -FIL fnew; +USB_NOCACHE_RAM_SECTION FATFS fs; +USB_NOCACHE_RAM_SECTION FIL fnew; UINT fnum; FRESULT res_sd = 0; |
