diff options
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 8ef2982279..4e5397f806 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h | |||
@@ -54,6 +54,7 @@ struct fat_file | |||
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 | int dirsector; /* sector where the dir entry is located */ |
56 | int direntry; /* dir entry index in sector */ | 56 | int direntry; /* dir entry index in sector */ |
57 | bool eof; | ||
57 | }; | 58 | }; |
58 | 59 | ||
59 | struct fat_dir | 60 | struct fat_dir |
@@ -63,6 +64,7 @@ struct fat_dir | |||
63 | int num_sec; | 64 | int num_sec; |
64 | unsigned char cached_buf[SECTOR_SIZE]; | 65 | unsigned char cached_buf[SECTOR_SIZE]; |
65 | int startcluster; | 66 | int startcluster; |
67 | struct fat_file file; | ||
66 | }; | 68 | }; |
67 | 69 | ||
68 | 70 | ||