Browse Source

Fix M106 for index > extruders (#13473)

pull/1/head
Chris Pepper 6 years ago
committed by Scott Lahteine
parent
commit
aacc1148b0
  1. 2
      Marlin/src/gcode/temperature/M106_M107.cpp

2
Marlin/src/gcode/temperature/M106_M107.cpp

@ -33,7 +33,7 @@
#define _CNT_P EXTRUDERS #define _CNT_P EXTRUDERS
#else #else
#define _ALT_P MIN(active_extruder, FAN_COUNT - 1) #define _ALT_P MIN(active_extruder, FAN_COUNT - 1)
#define _CNT_P MIN(EXTRUDERS, FAN_COUNT) #define _CNT_P FAN_COUNT
#endif #endif
/** /**

Loading…
Cancel
Save