diff --git a/storage/blockdevice/source/SFDP.cpp b/storage/blockdevice/source/SFDP.cpp index 6c3c01b664..3b5ac248f9 100644 --- a/storage/blockdevice/source/SFDP.cpp +++ b/storage/blockdevice/source/SFDP.cpp @@ -243,6 +243,7 @@ int sfdp_parse_sector_map_table(Callback sfdp tr_debug("No Sector Map Table"); // If there's no sector map, we have a single region sized the entire device size + sfdp_info.smptbl.region_cnt = 1; sfdp_info.smptbl.region_size[0] = sfdp_info.bptbl.device_size_bytes; sfdp_info.smptbl.region_high_boundary[0] = sfdp_info.bptbl.device_size_bytes - 1;