From 33c91b345e488c500dc0d00472baf4ebf2972fdb Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sat, 24 Jun 2023 14:09:27 +0200 Subject: [PATCH] remove unused PowerKill() --- .../lcd/extui/knutwurst/anycubic_touchscreen.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 74f11ea9..6f7c1bdd 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -19,7 +19,6 @@ */ #include "Arduino.h" -#include #include #include #include @@ -2102,20 +2101,6 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() { } #endif - void PowerKill() { - #ifdef POWER_OUTAGE_TEST - Temp_Buf_Extuder_Temperature = thermalManager.degTargetHotend(0); - Temp_Buf_Bed_Temperature = thermalManager.degTargetBed(); - if (PowerTestFlag == true) { - thermalManager.disable_all_heaters(); - OutageSave(); - PowerTestFlag = false; - thermalManager.setTargetHotend(Temp_Buf_Extuder_Temperature, 0); - thermalManager.setTargetBed(Temp_Buf_Bed_Temperature); - } - #endif - } - #if ENABLED(KNUTWURST_CHIRON) void AnycubicTouchscreenClass::LevelingDone() { SENDLINE_DBG_PGM("J25", "TFT Serial Debug: Auto leveling done... J25");