Skip to content

Commit 4f146ef

Browse files
TheRaf974thinkyhead
authored andcommitted
🔧 Overridable SUICIDE_PIN for RAMPS_CREALITY (MarlinFirmware#27143)
1 parent c674f01 commit 4f146ef

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@
7070
#define EXP3_PIN 11 // SERVO0_PIN
7171
#define EXP4_PIN 12 // PS_ON_PIN
7272

73-
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series
74-
#ifndef SUICIDE_PIN_STATE
75-
#define SUICIDE_PIN_STATE HIGH
73+
#ifndef SUICIDE_PIN
74+
#define SUICIDE_PIN 12 // Used by CR2020 Industrial series
75+
#ifndef SUICIDE_PIN_STATE
76+
#define SUICIDE_PIN_STATE HIGH
77+
#endif
7678
#endif

0 commit comments

Comments
 (0)