Skip to content

Commit 3af19ae

Browse files
Fix enumeration for VFAT long names
1 parent a33620a commit 3af19ae

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed

system/STM32L4xx/Lib/libstm32l432.a

-56 Bytes
Binary file not shown.

system/STM32L4xx/Lib/libstm32l433.a

-56 Bytes
Binary file not shown.

system/STM32L4xx/Lib/libstm32l476.a

-56 Bytes
Binary file not shown.

system/STM32L4xx/Lib/libstm32l496.a

-56 Bytes
Binary file not shown.

system/STM32L4xx/Source/dosfs_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6098,7 +6098,7 @@ static int dosfs_path_find_entry(dosfs_volume_t *volume, uint32_t clsno, uint32_
60986098
}
60996099
else
61006100
{
6101-
if ((dir->dir_attr & DOSFS_DIR_ATTR_LONG_NAME_MASK) & DOSFS_DIR_ATTR_LONG_NAME)
6101+
if ((dir->dir_attr & DOSFS_DIR_ATTR_LONG_NAME_MASK) == DOSFS_DIR_ATTR_LONG_NAME)
61026102
{
61036103
#if (DOSFS_CONFIG_VFAT_SUPPORTED == 1)
61046104
ordinal = (dir->dir_name[0] & 0x1f); /* LDIR_Ord */

0 commit comments

Comments
 (0)