Merge pull request #85 from erichelgeson/eric/init_blk1

init blk1
This commit is contained in:
Eric Helgeson
2022-04-03 19:59:13 -05:00
committed by GitHub

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] if(file_name_length > 8) { // HD00_[111]
blk1 = name[HDIMG_BLK_POS] - '0'; blk1 = name[HDIMG_BLK_POS] - '0';
blk2 = name[HDIMG_BLK_POS+1] - '0'; blk2 = name[HDIMG_BLK_POS+1] - '0';