something fallthrough something Windows jenkins has different version

Matt do we need explicit compiler version check for simulator and unit tests?
This commit is contained in:
rusefillc 2022-03-06 08:39:44 -05:00
parent 3621775854
commit cb4a66c840
1 changed files with 3 additions and 1 deletions

View File

@ -302,7 +302,9 @@ void readFromFlash() {
case FlashState::CrcFailed:
warning(CUSTOM_ERR_FLASH_CRC_FAILED, "flash CRC failed");
efiPrintf("Need to reset flash to default due to CRC mismatch");
// falls through
// todo: use [[fallthrough]]? jenkins has different version on Windows
resetConfigurationExt(DEFAULT_ENGINE_TYPE);
break;
case FlashState::BlankChip:
resetConfigurationExt(DEFAULT_ENGINE_TYPE);
break;