Do not wait forever if the heater on the extruder is disabled

This commit is contained in:
Yuri D'Elia 2019-10-15 20:54:00 +02:00
parent 3aa380e348
commit 7f3ba499a0

View File

@ -8864,6 +8864,8 @@ void delay_keep_alive(unsigned int ms)
}
static void wait_for_heater(long codenum, uint8_t extruder) {
if (!degTargetHotend(extruder))
return;
#ifdef TEMP_RESIDENCY_TIME
long residencyStart;