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:
Alexey Shvetsov
2017-07-05 19:54:26 +03:00
committed by Scott Lahteine
parent 60cb2bd4e7
commit f38b8c5bf8
2 changed files with 16 additions and 2 deletions

View File

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