Sfoglia il codice sorgente

Corrected active_extruder when autotemp is used.

Erik van der Zalm 13 anni fa
parent
commit
87c4e06c24
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/temperature.h

+ 2
- 2
Marlin/temperature.h Vedi File

@@ -153,8 +153,8 @@ FORCE_INLINE void autotempShutdown(){
153 153
  if(autotemp_enabled)
154 154
  {
155 155
   autotemp_enabled=false;
156
-  if(degTargetHotend(ACTIVE_EXTRUDER)>autotemp_min)
157
-    setTargetHotend(0,ACTIVE_EXTRUDER);
156
+  if(degTargetHotend(active_extruder)>autotemp_min)
157
+    setTargetHotend(0,active_extruder);
158 158
  }
159 159
  #endif
160 160
 }

Loading…
Annulla
Salva