mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
fat: Allow use of variable logical sector sizes
Only used if MAX_LOG_SECTOR_SIZE is defined This allows a single build to seamlessly work with (eg) 512B or 4K sectors. Change-Id: I85d2a6612afca6a1d7a3bd49c588b5745ab2b220
This commit is contained in:
parent
e519356c47
commit
7ecab006c0
3 changed files with 84 additions and 41 deletions
|
|
@ -143,6 +143,8 @@ int fat_rename(struct fat_file *parent, struct fat_file *file,
|
|||
int fat_modtime(struct fat_file *parent, struct fat_file *file,
|
||||
time_t modtime);
|
||||
|
||||
int fat_file_sector_size(const struct fat_file *file);
|
||||
|
||||
/** File stream functions **/
|
||||
int fat_closewrite(struct fat_filestr *filestr, uint32_t size,
|
||||
struct fat_direntry *fatentp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue