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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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