Fix kill => disable_all_heaters => print_job_timer.stop (#12146)
- Remove `print_job_timer.stop()` from `disable_all_heaters` - Call `print_job_timer.stop()` for relevant `disable_all_heaters()`. - Split up `kill()` for watchdog interrupt safety
This commit is contained in:
committed by
Scott Lahteine
parent
4cc1c2627e
commit
71e19baf69
@ -394,7 +394,7 @@ void CardReader::openFile(char * const path, const bool read, const bool subcall
|
||||
SERIAL_ERROR_START();
|
||||
SERIAL_ERRORPGM("trying to call sub-gcode files with too many levels. MAX level is:");
|
||||
SERIAL_ERRORLN((int)SD_PROCEDURE_DEPTH);
|
||||
kill(PSTR(MSG_KILLED));
|
||||
kill();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user