diff options
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r-- | firmware/export/fat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h index 638a659f7a..5df5dc4b91 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h | |||
@@ -85,7 +85,12 @@ struct fat_dir | |||
85 | unsigned int entrycount; | 85 | unsigned int entrycount; |
86 | long sector; | 86 | long sector; |
87 | struct fat_file file; | 87 | struct fat_file file; |
88 | unsigned char sectorcache[3][SECTOR_SIZE]; | 88 | unsigned char sectorcache[SECTOR_SIZE]; |
89 | /* There are 2-bytes per characters. We don't want to bother too much, as LFN entries are | ||
90 | * at much 255 characters longs, that's at most 20 LFN entries. Each entry hold at most | ||
91 | * 13 characters, that a total of 260 characters. So we keep a buffer of that size. | ||
92 | * Keep coherent with fat.c code. */ | ||
93 | unsigned char longname[260 * 2]; | ||
89 | }; | 94 | }; |
90 | 95 | ||
91 | #ifdef HAVE_HOTSWAP | 96 | #ifdef HAVE_HOTSWAP |