diff options
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 8d2382f57c..6a3e5cf967 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h | |||
@@ -81,13 +81,13 @@ extern int fat_create_file(char* name, | |||
81 | struct fat_dir* dir); | 81 | struct fat_dir* dir); |
82 | extern int fat_readwrite(struct fat_file *ent, int sectorcount, | 82 | extern int fat_readwrite(struct fat_file *ent, int sectorcount, |
83 | void* buf, bool write ); | 83 | void* buf, bool write ); |
84 | extern int fat_closewrite(struct fat_file *ent, int size); | 84 | extern int fat_closewrite(struct fat_file *ent, int size, int attr); |
85 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); | 85 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); |
86 | extern int fat_remove(struct fat_file *ent); | 86 | extern int fat_remove(struct fat_file *ent); |
87 | extern int fat_truncate(struct fat_file *ent); | 87 | extern int fat_truncate(struct fat_file *ent); |
88 | extern int fat_rename(struct fat_file* file, | 88 | extern int fat_rename(struct fat_file* file, |
89 | unsigned char* newname, | 89 | unsigned char* newname, |
90 | int size); | 90 | int size, int attr); |
91 | 91 | ||
92 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); | 92 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); |
93 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); | 93 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); |