diff --git a/system/libstm32l4_dragonfly/dosfs_core.c b/system/libstm32l4_dragonfly/dosfs_core.c index 19e47ced..5818fa2e 100644 --- a/system/libstm32l4_dragonfly/dosfs_core.c +++ b/system/libstm32l4_dragonfly/dosfs_core.c @@ -6801,7 +6801,7 @@ static int dosfs_path_find_entry(dosfs_volume_t *volume, uint32_t clsno, uint32_ } else { - if (((sequence & ~DOSFS_LDIR_SEQUENCE_INDEX) == (ordinal +1)) && (chksum == dir->dir_crt_time_tenth)) + if (((sequence & DOSFS_LDIR_SEQUENCE_INDEX) == (ordinal +1)) && (chksum == dir->dir_crt_time_tenth)) { sequence = (sequence & DOSFS_LDIR_SEQUENCE_MISMATCH) | ordinal; } diff --git a/variants/dragonfly/libstm32l4_dragonfly.a b/variants/dragonfly/libstm32l4_dragonfly.a index 55521953..af512c77 100644 Binary files a/variants/dragonfly/libstm32l4_dragonfly.a and b/variants/dragonfly/libstm32l4_dragonfly.a differ