From 6f4ee21cc9efd28a7dd38464276944578784aff2 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Sun, 11 Apr 2021 18:27:53 +0200 Subject: [PATCH] Fix Mesh bed leveling for Chiron without BLTouch or TFT Levelling. --- Marlin/Configuration.h | 6 +++++- Marlin/Configuration_adv.h | 28 ++++++++-------------------- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 0ee8e4ac..884d5f79 100755 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1216,10 +1216,14 @@ //#define NOZZLE_TO_PROBE_OFFSET { 29, -15, 0 } //X-Carriage #endif -#if DISABLED(KNUTWURST_BLTOUCH) +#if ENABLED(KNUTWURST_TFT_LEVELING) #define NOZZLE_TO_PROBE_OFFSET { 0, 0, -17 } // Chiron Default Value! #endif +#if NONE(KNUTWURST_BLTOUCH, KNUTWURST_TFT_LEVELING) + #define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 } +#endif + // Most probes should stay away from the edges of the bed, but // with NOZZLE_AS_PROBE this can be negative for a wider probing area. #define MIN_PROBE_EDGE 30 diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 57b7d3e3..74b985e9 100755 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -424,26 +424,14 @@ * the fan will turn on when any selected extruder is above the threshold. */ -#if ANY(KNUTWURST_MEGA, KNUTWURST_MEGA_S, KNUTWURST_MEGA_X, KNUTWURST_MEGA_P, KNUTWURST_CHIRON) - #define E0_AUTO_FAN_PIN FAN2_PIN - #define E1_AUTO_FAN_PIN -1 - #define E2_AUTO_FAN_PIN -1 - #define E3_AUTO_FAN_PIN -1 - #define E4_AUTO_FAN_PIN -1 - #define E5_AUTO_FAN_PIN -1 - #define CHAMBER_AUTO_FAN_PIN -1 -#endif -/* -#if ENABLED(KNUTWURST_CHIRON) // this might need some rework - #define E0_AUTO_FAN_PIN -1 - #define E1_AUTO_FAN_PIN -1 - #define E2_AUTO_FAN_PIN -1 - #define E3_AUTO_FAN_PIN -1 - #define E4_AUTO_FAN_PIN -1 - #define E5_AUTO_FAN_PIN -1 - #define CHAMBER_AUTO_FAN_PIN -1 -#endif -*/ +#define E0_AUTO_FAN_PIN FAN2_PIN +#define E1_AUTO_FAN_PIN -1 +#define E2_AUTO_FAN_PIN -1 +#define E3_AUTO_FAN_PIN -1 +#define E4_AUTO_FAN_PIN -1 +#define E5_AUTO_FAN_PIN -1 +#define CHAMBER_AUTO_FAN_PIN -1 + #define EXTRUDER_AUTO_FAN_TEMPERATURE 50 #define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed