Browse Source

Fix SINGLENOZZLE fan speed bug (#19152)

thordarsen 5 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
         if (target < EXTRUDERS) singlenozzle_fan_speed[target] = speed;
210
         if (target < EXTRUDERS) singlenozzle_fan_speed[target] = speed;
211
         return;
211
         return;
212
       }
212
       }
213
-      target = 0; // Always use fan index 0 with SINGLENOZZLE
214
     #endif
213
     #endif
215
 
214
 
215
+    TERN_(SINGLENOZZLE, target = 0); // Always use fan index 0 with SINGLENOZZLE
216
+
216
     if (target >= FAN_COUNT) return;
217
     if (target >= FAN_COUNT) return;
217
 
218
 
218
     fan_speed[target] = speed;
219
     fan_speed[target] = speed;

Loading…
Cancel
Save