fatfsparse.py: Fixed ignoring first file in directory

Closes IDF-5968
This commit is contained in:
Martin Gaňo
2022-09-14 08:58:27 +02:00
parent 1146b83bf1
commit 26f7f105c3
2 changed files with 5 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ class Entry:
LDIR_Name3_IDX: int = 28
LDIR_Name3_SIZE: int = 2
# short entry in long file names
LDIR_DIR_NTRES: int = 0x18
# one entry can hold 13 characters with size 2 bytes distributed in three regions of the 32 bytes entry
CHARS_PER_ENTRY: int = LDIR_Name1_SIZE + LDIR_Name2_SIZE + LDIR_Name3_SIZE