Skip to content

Commit 350dbb8

Browse files
committed
lib/oofatfs: Update oofatfs library to fix issue with logic not.
From https://github.com/micropython/oofatfs, branch work-R0.13c, commit 3b4ee5a646af2769b3dddfe17d5d866233c1e45b.
1 parent 62483bb commit 350dbb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/oofatfs/ff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3356,7 +3356,7 @@ static FRESULT validate ( /* Returns FR_OK or FR_INVALID_OBJECT */
33563356
res = FR_TIMEOUT;
33573357
}
33583358
#else
3359-
if (disk_ioctl(obj->fs->drv, IOCTL_STATUS, &stat) == RES_OK && (!stat & STA_NOINIT)) { /* Test if the phsical drive is kept initialized */
3359+
if (disk_ioctl(obj->fs->drv, IOCTL_STATUS, &stat) == RES_OK && !(stat & STA_NOINIT)) { /* Test if the phsical drive is kept initialized */
33603360
res = FR_OK;
33613361
}
33623362
#endif

0 commit comments

Comments
 (0)