Skip to content

Commit

Permalink
fix VFAT LFN ordinal handling
Browse files Browse the repository at this point in the history
  • Loading branch information
GrumpyOldPizza committed Jul 25, 2016
1 parent eddb23a commit 392997e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/libstm32l4_dragonfly/dosfs_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Binary file modified variants/dragonfly/libstm32l4_dragonfly.a
Binary file not shown.

0 comments on commit 392997e

Please sign in to comment.