Corrected active_extruder when autotemp is used.

This commit is contained in:
Erik van der Zalm 2012-03-08 22:04:13 +01:00
parent 7b1e295f34
commit 87c4e06c24

View File

@ -153,8 +153,8 @@ FORCE_INLINE void autotempShutdown(){
if(autotemp_enabled)
{
autotemp_enabled=false;
if(degTargetHotend(ACTIVE_EXTRUDER)>autotemp_min)
setTargetHotend(0,ACTIVE_EXTRUDER);
if(degTargetHotend(active_extruder)>autotemp_min)
setTargetHotend(0,active_extruder);
}
#endif
}