Skip to content

Commit 392997e

Browse files
fix VFAT LFN ordinal handling
1 parent eddb23a commit 392997e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

system/libstm32l4_dragonfly/dosfs_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6801,7 +6801,7 @@ static int dosfs_path_find_entry(dosfs_volume_t *volume, uint32_t clsno, uint32_
68016801
}
68026802
else
68036803
{
6804-
if (((sequence & ~DOSFS_LDIR_SEQUENCE_INDEX) == (ordinal +1)) && (chksum == dir->dir_crt_time_tenth))
6804+
if (((sequence & DOSFS_LDIR_SEQUENCE_INDEX) == (ordinal +1)) && (chksum == dir->dir_crt_time_tenth))
68056805
{
68066806
sequence = (sequence & DOSFS_LDIR_SEQUENCE_MISMATCH) | ordinal;
68076807
}
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)