summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h4
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);
82extern int fat_readwrite(struct fat_file *ent, int sectorcount, 82extern int fat_readwrite(struct fat_file *ent, int sectorcount,
83 void* buf, bool write ); 83 void* buf, bool write );
84extern int fat_closewrite(struct fat_file *ent, int size); 84extern int fat_closewrite(struct fat_file *ent, int size, int attr);
85extern int fat_seek(struct fat_file *ent, unsigned int sector ); 85extern int fat_seek(struct fat_file *ent, unsigned int sector );
86extern int fat_remove(struct fat_file *ent); 86extern int fat_remove(struct fat_file *ent);
87extern int fat_truncate(struct fat_file *ent); 87extern int fat_truncate(struct fat_file *ent);
88extern int fat_rename(struct fat_file* file, 88extern 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
92extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); 92extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
93extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); 93extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);