Fix M106 for index > extruders (#13473)

This commit is contained in:
Chris Pepper 2019-03-25 01:03:53 +00:00 committed by Scott Lahteine
parent c5e96544b5
commit aacc1148b0

View File

@ -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
/** /**