diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-25 23:46:03 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-03-05 15:56:39 +1100 |
commit | e959f21986e13bada076d47ea71a6ac1370295c1 (patch) | |
tree | b308ff09cd4324e14cd2e3ab4caedf11c4bcf4e6 /extmod/vfs_fat_diskio.c | |
parent | 7eadcaa8c674ba950549a336154a1571ab78f07a (diff) |
extmod/vfs_fat: Update for new oofatfs version.
Diffstat (limited to 'extmod/vfs_fat_diskio.c')
-rw-r--r-- | extmod/vfs_fat_diskio.c | 6 |
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 |