From de2b3f5860dbfc9bf170c858d2ea2c4c31a5c5d4 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 18 Jun 2021 11:13:05 +0200 Subject: [PATCH] Fix Chiron Filament Runout Sensor --- Marlin/src/lcd/anycubic_touchscreen.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Marlin/src/lcd/anycubic_touchscreen.h b/Marlin/src/lcd/anycubic_touchscreen.h index cb397e64..984fd091 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.h +++ b/Marlin/src/lcd/anycubic_touchscreen.h @@ -37,7 +37,11 @@ char *ftostr32(const float &); #define MSG_MY_VERSION CUSTOM_BUILD_VERSION #define MAX_PRINTABLE_FILENAME_LEN 30 -#define FILAMENT_RUNOUT_PIN 19 +#if ENABLED(KNUTWURST_CHIRON) + #define FILAMENT_RUNOUT_PIN 33 +#else + #define FILAMENT_RUNOUT_PIN 19 +#endif #define ANYCUBIC_TFT_STATE_IDLE 0 #define ANYCUBIC_TFT_STATE_SDPRINT 1