diff options
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index f05acf3c8f..a5abfd5214 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h | |||
@@ -52,14 +52,16 @@ struct fat_file | |||
52 | int lastcluster; /* cluster of last access */ | 52 | int lastcluster; /* cluster of last access */ |
53 | int lastsector; /* sector of last access */ | 53 | int lastsector; /* sector of last access */ |
54 | int sectornum; /* sector number in this cluster */ | 54 | int sectornum; /* sector number in this cluster */ |
55 | int dirsector; /* sector where the dir entry is located */ | 55 | unsigned int direntry; /* short dir entry index from start of dir */ |
56 | int direntry; /* dir entry index in sector */ | 56 | unsigned int direntries; /* number of dir entries used by this file */ |
57 | unsigned int dircluster; /* first cluster of dir */ | ||
57 | bool eof; | 58 | bool eof; |
58 | }; | 59 | }; |
59 | 60 | ||
60 | struct fat_dir | 61 | struct fat_dir |
61 | { | 62 | { |
62 | unsigned int entry; | 63 | unsigned int entry; |
64 | unsigned int entrycount; | ||
63 | int sector; | 65 | int sector; |
64 | struct fat_file file; | 66 | struct fat_file file; |
65 | }; | 67 | }; |