From f2840a72a3204610b2798c384ce5810dc5db74cf Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Sun, 18 Apr 2021 14:26:19 +0200 Subject: [PATCH] Fix build --- Marlin/Configuration.h | 5 +---- Marlin/src/lcd/anycubic_touchscreen.cpp | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index a53c518f..ccb53398 100755 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -87,10 +87,7 @@ * is automatically set if the chiron is enabled. * */ -#if ENABLED(KNUTWURST_CHIRON) - #define KNUTWURST_TFT_LEVELING -#endif - +//#define KNUTWURST_TFT_LEVELING /* * Here you can set the default preheat-Temperatures diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index 68959648..37c251cb 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -59,9 +59,8 @@ char _conv[8]; value++; } while (--size); } -#endif -void setupMyZoffset() { + void setupMyZoffset() { #if ENABLED(AUTO_BED_LEVELING_BILINEAR) SERIAL_ECHOPAIR("MEANL_L:", 0x55); SAVE_zprobe_zoffset = probe.offset.z; @@ -70,6 +69,7 @@ void setupMyZoffset() { probe.offset = NOZZLE_TO_PROBE_OFFSET; #endif } +#endif #if ENABLED(POWER_OUTAGE_TEST) int PowerInt = 6;