Permit more Creality pin overrides (#17820)
This commit is contained in:
parent
8d425c6720
commit
739b738e7f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user