Corrected active_extruder when autotemp is used.
This commit is contained in:
parent
7b1e295f34
commit
87c4e06c24
|
@ -153,8 +153,8 @@ FORCE_INLINE void autotempShutdown(){
|
||||||
if(autotemp_enabled)
|
if(autotemp_enabled)
|
||||||
{
|
{
|
||||||
autotemp_enabled=false;
|
autotemp_enabled=false;
|
||||||
if(degTargetHotend(ACTIVE_EXTRUDER)>autotemp_min)
|
if(degTargetHotend(active_extruder)>autotemp_min)
|
||||||
setTargetHotend(0,ACTIVE_EXTRUDER);
|
setTargetHotend(0,active_extruder);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue