From d38261c9084a5036e6598d4ab15da3e17447f3ad Mon Sep 17 00:00:00 2001
From: TheRaf974 <rpm.boyer@gmail.com>
Date: Sat, 8 Jun 2024 23:45:51 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Overridable=20SUICIDE=5FPIN=20fo?=
 =?UTF-8?q?r=20RAMPS=5FCREALITY=20(#27143)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h
index 49a8c196d0a..f858ffd35ed 100644
--- a/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h
+++ b/Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h
@@ -70,7 +70,9 @@
 #define EXP3_PIN                              11  // SERVO0_PIN
 #define EXP4_PIN                              12  // PS_ON_PIN
 
-#define SUICIDE_PIN                           12  // Used by CR2020 Industrial series
-#ifndef SUICIDE_PIN_STATE
-  #define SUICIDE_PIN_STATE                 HIGH
+#ifndef SUICIDE_PIN
+  #define SUICIDE_PIN                         12  // Used by CR2020 Industrial series
+  #ifndef SUICIDE_PIN_STATE
+    #define SUICIDE_PIN_STATE               HIGH
+  #endif
 #endif