init blk1

Thanks to @moof via discord
This commit is contained in:
Eric Helgeson 2022-04-03 14:51:22 -05:00
parent 833cfd9384
commit e468bd6fef
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ void findDriveImages(FsFile root) {
}
}
int blk1, blk2, blk3, blk4 = 0;
int blk1 = 0, blk2, blk3, blk4 = 0;
if(file_name_length > 8) { // HD00_[111]
blk1 = name[HDIMG_BLK_POS] - '0';
blk2 = name[HDIMG_BLK_POS+1] - '0';