Reset print-timer after print stop.

This commit is contained in:
Knutwurst
2020-06-06 00:28:45 +02:00
parent c77a32a674
commit 3ddbe448ae

View File

@@ -299,10 +299,10 @@ void AnycubicTouchscreenClass::StopPrint()
#ifdef ANYCUBIC_TFT_DEBUGANYCUBIC_TFT_STATE_SDSTOP_REQ #ifdef ANYCUBIC_TFT_DEBUGANYCUBIC_TFT_STATE_SDSTOP_REQ
SERIAL_ECHOLNPGM("DEBUG: Stopped and cleared"); SERIAL_ECHOLNPGM("DEBUG: Stopped and cleared");
#endif #endif
//print_job_timer.stop(); print_job_timer.stop();
thermalManager.disable_all_heaters(); thermalManager.disable_all_heaters();
// we are not parked yet, do it in the display state routine // we are not parked yet, do it in the display state routine
//IsParked = false; IsParked = false;
// turn off fan, cancel any heatups and set display state // turn off fan, cancel any heatups and set display state
ai3m_pause_state = 0; ai3m_pause_state = 0;
#ifdef ANYCUBIC_TFT_DEBUG #ifdef ANYCUBIC_TFT_DEBUG