summaryrefslogtreecommitdiff
path: root/extmod/vfs_fat_diskio.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/vfs_fat_diskio.c')
-rw-r--r--extmod/vfs_fat_diskio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extmod/vfs_fat_diskio.c b/extmod/vfs_fat_diskio.c
index fa013d278..e80d61241 100644
--- a/extmod/vfs_fat_diskio.c
+++ b/extmod/vfs_fat_diskio.c
@@ -42,8 +42,8 @@
#include "lib/oofatfs/diskio.h"
#include "extmod/vfs_fat.h"
-#if _MAX_SS == _MIN_SS
-#define SECSIZE(fs) (_MIN_SS)
+#if FF_MAX_SS == FF_MIN_SS
+#define SECSIZE(fs) (FF_MIN_SS)
#else
#define SECSIZE(fs) ((fs)->ssize)
#endif
@@ -194,7 +194,7 @@ DRESULT disk_ioctl (
} else {
*((WORD*)buff) = mp_obj_get_int(ret);
}
- #if _MAX_SS != _MIN_SS
+ #if FF_MAX_SS != FF_MIN_SS
// need to store ssize because we use it in disk_read/disk_write
vfs->fatfs.ssize = *((WORD*)buff);
#endif