Do not wait forever if the heater on the extruder is disabled
This commit is contained in:
parent
3aa380e348
commit
7f3ba499a0
1 changed files with 2 additions and 0 deletions
|
@ -8864,6 +8864,8 @@ void delay_keep_alive(unsigned int ms)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wait_for_heater(long codenum, uint8_t extruder) {
|
static void wait_for_heater(long codenum, uint8_t extruder) {
|
||||||
|
if (!degTargetHotend(extruder))
|
||||||
|
return;
|
||||||
|
|
||||||
#ifdef TEMP_RESIDENCY_TIME
|
#ifdef TEMP_RESIDENCY_TIME
|
||||||
long residencyStart;
|
long residencyStart;
|
||||||
|
|
Loading…
Add table
Reference in a new issue