Browse Source

Fix SINGLENOZZLE fan speed bug (#19152)

thordarsen 4 years ago
parent
commit
195d20cef2
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/src/module/temperature.cpp

+ 2
- 1
Marlin/src/module/temperature.cpp View File

@@ -210,9 +210,10 @@ const char str_t_thermal_runaway[] PROGMEM = STR_T_THERMAL_RUNAWAY,
210 210
         if (target < EXTRUDERS) singlenozzle_fan_speed[target] = speed;
211 211
         return;
212 212
       }
213
-      target = 0; // Always use fan index 0 with SINGLENOZZLE
214 213
     #endif
215 214
 
215
+    TERN_(SINGLENOZZLE, target = 0); // Always use fan index 0 with SINGLENOZZLE
216
+
216 217
     if (target >= FAN_COUNT) return;
217 218
 
218 219
     fan_speed[target] = speed;

Loading…
Cancel
Save