diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/fat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 3e43e1c787..0c8997d94a 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c | |||
@@ -1989,3 +1989,8 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry) | |||
1989 | } | 1989 | } |
1990 | return 0; | 1990 | return 0; |
1991 | } | 1991 | } |
1992 | |||
1993 | int fat_get_cluster_size(void) | ||
1994 | { | ||
1995 | return fat_bpb.bpb_secperclus * SECTOR_SIZE; | ||
1996 | } | ||