Browse Source

Fix SINGLENOZZLE fan speed bug (#19152)

vanilla_fb_2.0.x
thordarsen 4 years ago
committed by Scott Lahteine
parent
commit
f5e94cd7f1
  1. 3
      Marlin/src/module/temperature.cpp

3
Marlin/src/module/temperature.cpp

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

Loading…
Cancel
Save