diff options
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) {
|