MKS 1.3+: Add pin mapping for PS_ON
This allows the use of D4 as PS_ON since MKS Gen doesn't have a PS_ON pin. However this effectively allows only 3 servos (instead of 4). Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
committed by
Scott Lahteine
parent
60cb2bd4e7
commit
f38b8c5bf8
@@ -41,6 +41,16 @@
|
||||
// Power outputs EFBF or EFBE
|
||||
#define MOSFET_D_PIN 7
|
||||
|
||||
//
|
||||
// PSU / SERVO
|
||||
//
|
||||
// If POWER_SUPPLY is specified, always hijack Servo 3
|
||||
//
|
||||
#if POWER_SUPPLY > 0
|
||||
#define SERVO3_PIN -1
|
||||
#define PS_ON_PIN 4
|
||||
#endif
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user