fatfsparse.py: limit the file content size to correct number

This commit is contained in:
Martin Gaňo
2022-09-08 14:28:12 +02:00
committed by BOT
parent e27e13b3dd
commit 37178dfa74
5 changed files with 40 additions and 21 deletions

View File

@@ -12,6 +12,7 @@ from construct import BitsInteger, BitStruct, Int16ul
FAT12_MAX_CLUSTERS: int = 4085
FAT16_MAX_CLUSTERS: int = 65525
RESERVED_CLUSTERS_COUNT: int = 2
PAD_CHAR: int = 0x20
FAT12: int = 12
FAT16: int = 16