Fix and improve POWER_LOSS_RECOVERY (#11187)
This commit is contained in:
parent
e0ab8acf19
commit
1a0f4dedad
9 changed files with 134 additions and 72 deletions
|
@ -496,7 +496,7 @@ inline void get_serial_commands() {
|
|||
if (job_recovery_commands_count) {
|
||||
if (_enqueuecommand(job_recovery_commands[job_recovery_commands_index])) {
|
||||
++job_recovery_commands_index;
|
||||
if (!--job_recovery_commands_count) job_recovery_phase = JOB_RECOVERY_IDLE;
|
||||
if (!--job_recovery_commands_count) job_recovery_phase = JOB_RECOVERY_DONE;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue