diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 877beff7f1..c43807b25f 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c @@ -888,7 +888,7 @@ int fat_read( struct fat_file *file, int sectorcount, void* buf ) return 0; /* find sequential sectors and read them all at once */ - for (i=0; i0; i++ ) { + for (i=0; i=0; i++ ) { numsec++; if ( numsec >= fat_bpb.bpb_secperclus ) { cluster = get_next_cluster(cluster);