Permit more Creality pin overrides (#17820)
This commit is contained in:
parent
8d425c6720
commit
739b738e7f
1 changed files with 7 additions and 2 deletions
|
@ -43,7 +43,10 @@
|
|||
#define SD_DETECT_PIN 49 // Always define onboard SD detect
|
||||
#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)
|
||||
#define CASE_LIGHT_PIN 65
|
||||
|
@ -61,4 +64,6 @@
|
|||
#define EXP4_PIN 12 // PS_ON_PIN
|
||||
|
||||
#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
|
||||
|
|
Reference in a new issue