diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-07 09:16:39 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-07 09:16:39 +0000 |
commit | ce446b196aad77ca18a1c855e5da4d0aa85fd639 (patch) | |
tree | 362fcac74c3172bd0f975606e30e7fd69e5ab24a /demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c | |
parent | 8b702892bbc1c5fc3c2ce4dcdcb92ba58346987b (diff) | |
download | ChibiOS-ce446b196aad77ca18a1c855e5da4d0aa85fd639.tar.gz ChibiOS-ce446b196aad77ca18a1c855e5da4d0aa85fd639.tar.bz2 ChibiOS-ce446b196aad77ca18a1c855e5da4d0aa85fd639.zip |
FatFS 0.13 integrated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10562 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c')
-rw-r--r-- | demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c index 80a1aed60..b4b776abf 100644 --- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c +++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c @@ -123,7 +123,7 @@ static FRESULT scan_files(BaseSequentialStream *chp, char *path) { if (res == FR_OK) {
i = strlen(path);
while (((res = f_readdir(&dir, &fno)) == FR_OK) && fno.fname[0]) {
- if (_FS_RPATH && fno.fname[0] == '.')
+ if (FF_FS_RPATH && fno.fname[0] == '.')
continue;
fn = fno.fname;
if (fno.fattrib & AM_DIR) {
|