diff --git a/Marlin/temperature.h b/Marlin/temperature.h index c7a457fa15..e122a31f98 100644 --- a/Marlin/temperature.h +++ b/Marlin/temperature.h @@ -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 }