Merge pull request #4423 from 3d-gussner/MK3_3132_PFW-1542-v2
PFW-1542 Handle fan error sooner when waiting for heating to complete
This commit is contained in:
commit
525055c0ce
|
|
@ -6154,6 +6154,12 @@ Sigma_Exit:
|
|||
|
||||
while ( (!cancel_heatup) && (target_direction ? (isHeatingBed()) : (isCoolingBed()&&(CooldownNoWait==false))) )
|
||||
{
|
||||
if (lcd_commands_type == LcdCommands::LongPause) {
|
||||
// Print was suddenly paused, break out of the loop
|
||||
// This can happen when the firmware report a fan error
|
||||
break;
|
||||
}
|
||||
|
||||
if(( _millis() - codenum) > 1000 ) //Print Temp Reading every 1 second while heating up.
|
||||
{
|
||||
if (!farm_mode) {
|
||||
|
|
@ -9788,6 +9794,11 @@ static void wait_for_heater(long codenum, uint8_t extruder) {
|
|||
#else
|
||||
while (target_direction ? (isHeatingHotend(tmp_extruder)) : (isCoolingHotend(tmp_extruder) && (CooldownNoWait == false))) {
|
||||
#endif //TEMP_RESIDENCY_TIME
|
||||
if (lcd_commands_type == LcdCommands::LongPause) {
|
||||
// Print was suddenly paused, break out of the loop
|
||||
// This can happen when the firmware report a fan error
|
||||
break;
|
||||
}
|
||||
if ((_millis() - codenum) > 1000UL)
|
||||
{ //Print Temp Reading and remaining time every 1 second while heating up/cooling down
|
||||
if (!farm_mode) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue