Permit more Creality pin overrides (#17820)

This commit is contained in:
Dipl.-Ing. Raoul Rubien, BSc 2020-05-03 01:30:23 +02:00 committed by GitHub
parent 8d425c6720
commit 739b738e7f
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,10 @@
#define SD_DETECT_PIN 49 // Always define onboard SD detect #define SD_DETECT_PIN 49 // Always define onboard SD detect
#endif #endif
#define PS_ON_PIN 40 // Used by CR2020 Industrial series #ifndef PS_ON_PIN
#define PS_ON_PIN 40 // Used by CR2020 Industrial series
#endif
#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN)
#define CASE_LIGHT_PIN 65 #define CASE_LIGHT_PIN 65
@ -61,4 +64,6 @@
#define EXP4_PIN 12 // PS_ON_PIN #define EXP4_PIN 12 // PS_ON_PIN
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series #define SUICIDE_PIN 12 // Used by CR2020 Industrial series
#define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series #ifndef SUICIDE_PIN_INVERTING
#define SUICIDE_PIN_INVERTING true
#endif