diff options
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r-- | firmware/drivers/fat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h index 3052488c5a..1316202a6c 100644 --- a/firmware/drivers/fat.h +++ b/firmware/drivers/fat.h | |||
@@ -58,8 +58,8 @@ struct fat_dir | |||
58 | struct fat_file | 58 | struct fat_file |
59 | { | 59 | { |
60 | int firstcluster; /* first cluster in file */ | 60 | int firstcluster; /* first cluster in file */ |
61 | int nextcluster; /* cluster of last access */ | 61 | int lastcluster; /* cluster of last access */ |
62 | int nextsector; /* sector of last access */ | 62 | int lastsector; /* sector of last access */ |
63 | int sectornum; /* sector number in this cluster */ | 63 | int sectornum; /* sector number in this cluster */ |
64 | int dirsector; /* sector where the dir entry is located */ | 64 | int dirsector; /* sector where the dir entry is located */ |
65 | int direntry; /* dir entry index in sector */ | 65 | int direntry; /* dir entry index in sector */ |
@@ -79,6 +79,7 @@ extern int fat_readwrite(struct fat_file *ent, int sectorcount, | |||
79 | void* buf, bool write ); | 79 | void* buf, bool write ); |
80 | extern int fat_closewrite(struct fat_file *ent, int size); | 80 | extern int fat_closewrite(struct fat_file *ent, int size); |
81 | extern int fat_seek(struct fat_file *ent, int sector ); | 81 | extern int fat_seek(struct fat_file *ent, int sector ); |
82 | extern int fat_remove(struct fat_file *ent); | ||
82 | 83 | ||
83 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); | 84 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); |
84 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); | 85 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); |