Merge pull request #232 from gudnimg/fix-firmware-panic-error-report
Fix issue where firmware panic error code is overwrittenpull/237/head
commit
144725ab11
|
|
@ -136,7 +136,8 @@ bool CommandBase::WaitForModulesErrorRecovery() {
|
|||
}
|
||||
|
||||
bool CommandBase::Step() {
|
||||
if (WaitForModulesErrorRecovery()) {
|
||||
if (WaitForModulesErrorRecovery() || state == ProgressCode::ERRInternal) {
|
||||
// ERRInternal: firmware panic was triggered
|
||||
return true;
|
||||
}
|
||||
return StepInner();
|
||||
|
|
|
|||
Loading…
Reference in New Issue