Move MAX_EXTRUDERS to pins.h

This commit is contained in:
Scott Lahteine
2016-10-22 10:07:51 -05:00
parent 5f5a55a0de
commit ad64723354
3 changed files with 5 additions and 2 deletions

View File

@ -275,6 +275,10 @@
#define SUICIDE_PIN -1
#endif
#ifndef MAX_EXTRUDERS
#define MAX_EXTRUDERS 4
#endif
// Marlin needs to account for pins that equal -1
#define marlinAnalogInputToDigitalPin(p) ((p) == -1 ? -1 : analogInputToDigitalPin(p))