Skip to content

Commit

Permalink
Fix SINGLENOZZLE fan speed bug (#19152)
Browse files Browse the repository at this point in the history
  • Loading branch information
thordarsen authored Aug 26, 2020
1 parent 91c8c6d commit 195d20c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,10 @@ const char str_t_thermal_runaway[] PROGMEM = STR_T_THERMAL_RUNAWAY,
if (target < EXTRUDERS) singlenozzle_fan_speed[target] = speed;
return;
}
target = 0; // Always use fan index 0 with SINGLENOZZLE
#endif

TERN_(SINGLENOZZLE, target = 0); // Always use fan index 0 with SINGLENOZZLE

if (target >= FAN_COUNT) return;

fan_speed[target] = speed;
Expand Down

0 comments on commit 195d20c

Please sign in to comment.