From 048608028990fa8378c230a8ed8734e6e0f708bd Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Sat, 6 Jun 2020 12:53:11 +0200 Subject: [PATCH] - Remove unneccessary bed heating information. - Disable debug information via serial console. --- Marlin/src/gcode/temp/M140_M190.cpp | 11 +---------- config/default/Configuration.h | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Marlin/src/gcode/temp/M140_M190.cpp b/Marlin/src/gcode/temp/M140_M190.cpp index 78d71302..2da43870 100755 --- a/Marlin/src/gcode/temp/M140_M190.cpp +++ b/Marlin/src/gcode/temp/M140_M190.cpp @@ -43,10 +43,7 @@ #include "../../feature/leds/leds.h" #endif -#if ENABLED(ANYCUBIC_TOUCHSCREEN) - #include "../../lcd/anycubic_touchscreen.h" -#endif -#include "../../MarlinCore.h" // for wait_for_heatup and idle() +#include "../../MarlinCore.h" // for wait_for_heatup, idle, startOrResumeJob /** * M140: Set bed temperature @@ -83,15 +80,9 @@ void GcodeSuite::M190() { } else return; - #ifdef ANYCUBIC_TOUCHSCREEN - AnycubicTouchscreen.BedHeatingStart(); - #endif - ui.set_status_P(thermalManager.isHeatingBed() ? GET_TEXT(MSG_BED_HEATING) : GET_TEXT(MSG_BED_COOLING)); thermalManager.wait_for_bed(no_wait_for_cooling); - - //SERIAL_FLUSH(); } #endif // HAS_HEATED_BED diff --git a/config/default/Configuration.h b/config/default/Configuration.h index 5dea38c1..07ae7e59 100755 --- a/config/default/Configuration.h +++ b/config/default/Configuration.h @@ -2224,4 +2224,4 @@ // Enable Anycubic TFT #define ANYCUBIC_TOUCHSCREEN #define ANYCUBIC_FILAMENT_RUNOUT_SENSOR -#define ANYCUBIC_TFT_DEBUG +//#define ANYCUBIC_TFT_DEBUG