Skip to content

Commit

Permalink
Fix SINGLENOZZLE fan speed bug (MarlinFirmware#19152)
Browse files Browse the repository at this point in the history
  • Loading branch information
thordarsen authored and albertogg committed Aug 31, 2020
1 parent 66275a5 commit 605f596
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 605f596

Please sign in to comment.