diff options
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r-- | firmware/export/fat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h index 3bb895cdc8..c56d8f85f6 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h | |||
@@ -90,7 +90,7 @@ extern int fat_open(IF_MV2(int volume,) | |||
90 | extern int fat_create_file(const char* name, | 90 | extern int fat_create_file(const char* name, |
91 | struct fat_file* ent, | 91 | struct fat_file* ent, |
92 | struct fat_dir* dir); | 92 | struct fat_dir* dir); |
93 | extern int fat_readwrite(struct fat_file *ent, long sectorcount, | 93 | extern long fat_readwrite(struct fat_file *ent, long sectorcount, |
94 | void* buf, bool write ); | 94 | void* buf, bool write ); |
95 | extern int fat_closewrite(struct fat_file *ent, long size, int attr); | 95 | extern int fat_closewrite(struct fat_file *ent, long size, int attr); |
96 | extern int fat_seek(struct fat_file *ent, unsigned long sector ); | 96 | extern int fat_seek(struct fat_file *ent, unsigned long sector ); |
@@ -105,7 +105,7 @@ extern int fat_opendir(IF_MV2(int volume,) | |||
105 | struct fat_dir *ent, unsigned long currdir, | 105 | struct fat_dir *ent, unsigned long currdir, |
106 | const struct fat_dir *parent_dir); | 106 | const struct fat_dir *parent_dir); |
107 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); | 107 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); |
108 | extern int fat_get_cluster_size(IF_MV_NONVOID(int volume)); | 108 | extern unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)); |
109 | extern bool fat_ismounted(int volume); | 109 | extern bool fat_ismounted(int volume); |
110 | 110 | ||
111 | #endif | 111 | #endif |