diff options
Diffstat (limited to 'demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c')
-rwxr-xr-x | demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c index 2d09456d6..5e8d388c7 100755 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/main.c @@ -131,7 +131,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) {
|