diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h index 15c9c43f..4db25883 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h @@ -42,12 +42,6 @@ char *itostr2(const uint8_t &x); #define MSG_MY_VERSION CUSTOM_BUILD_VERSION #define MAX_PRINTABLE_FILENAME_LEN 26 -#if ENABLED(KNUTWURST_CHIRON) - #define FIL_RUNOUT_PIN 33 -#else - #define FIL_RUNOUT_PIN 19 -#endif - #define ANYCUBIC_TFT_STATE_IDLE 0 #define ANYCUBIC_TFT_STATE_SDPRINT 1 #define ANYCUBIC_TFT_STATE_SDPAUSE 2 diff --git a/Marlin/src/pins/ramps/pins_RAMPS.h b/Marlin/src/pins/ramps/pins_RAMPS.h index f7eade27..f6ee75c6 100755 --- a/Marlin/src/pins/ramps/pins_RAMPS.h +++ b/Marlin/src/pins/ramps/pins_RAMPS.h @@ -286,9 +286,11 @@ #endif #endif -// RAMPS 1.4 DIO 4 on the servos connector -#ifndef FIL_RUNOUT_PIN - #define FIL_RUNOUT_PIN 19 + +#if ANY(KNUTWURST_CHIRON, KNUTWURST_4MAXP2) + #define FIL_RUNOUT_PIN 33 +#else + #define FIL_RUNOUT_PIN 19 #endif #ifndef PS_ON_PIN diff --git a/Marlin/src/pins/ramps/pins_RAMPS_CHIRON.h b/Marlin/src/pins/ramps/pins_RAMPS_CHIRON.h index 1cb1e343..c3561808 100755 --- a/Marlin/src/pins/ramps/pins_RAMPS_CHIRON.h +++ b/Marlin/src/pins/ramps/pins_RAMPS_CHIRON.h @@ -253,7 +253,7 @@ // RAMPS 1.4 DIO 4 on the servos connector #ifndef FIL_RUNOUT_PIN - #define FIL_RUNOUT_PIN 4 + #define FIL_RUNOUT_PIN 33 #endif #ifndef PS_ON_PIN