Merge pull request #2273 from wavexx/do_not_wait_for_disabled_heater
Do not wait forever if the heater on the extruder is disabled
This commit is contained in:
commit
86ea24c364
1 changed files with 2 additions and 0 deletions
|
@ -8903,6 +8903,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;
|
||||
|
|
Loading…
Reference in a new issue