From 48688147b9e2682acc8ea8709f5fa669d8563bb4 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 3 Nov 2021 20:15:47 +0100 Subject: [PATCH] Move Power-off-pin to ramps.h --- Marlin/src/pins/ramps/pins_RAMPS.h | 4 ++++ Marlin/src/pins/ramps/pins_TRIGORILLA_14.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Marlin/src/pins/ramps/pins_RAMPS.h b/Marlin/src/pins/ramps/pins_RAMPS.h index 0cda822f..814ef6e3 100755 --- a/Marlin/src/pins/ramps/pins_RAMPS.h +++ b/Marlin/src/pins/ramps/pins_RAMPS.h @@ -266,6 +266,10 @@ #define FILWIDTH_PIN 5 // Analog Input on AUX2 #endif +#ifndef POWER_OFF_PIN + #define POWER_OFF_PIN 21 +#endif + // RAMPS 1.4 DIO 4 on the servos connector #ifndef FIL_RUNOUT_PIN #define FIL_RUNOUT_PIN 4 diff --git a/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h b/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h index 70773b29..ac3b2172 100755 --- a/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h +++ b/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h @@ -60,7 +60,6 @@ #define SDSS 53 #define LED_PIN 13 #define SD_DETECT_PIN 49 -#define POWER_OFF_PIN 21 // Remap MOSFET pins to common usages: #define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h