From 18d5712ecd5d98f13c0edf343268413492b2b3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Thu, 4 Aug 2022 09:10:50 +0200 Subject: [PATCH] This code was committed by mistake --- src/ButtonThread.h | 7 ------- src/shutdown.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/src/ButtonThread.h b/src/ButtonThread.h index fe014246c..50ac14316 100644 --- a/src/ButtonThread.h +++ b/src/ButtonThread.h @@ -144,15 +144,8 @@ class ButtonThread : public concurrency::OSThread screen->startShutdownScreen(); DEBUG_MSG("Shutdown from long press"); playBeep(); -#ifdef PIN_LED1 ledOff(PIN_LED1); -#endif -#ifdef PIN_LED2 ledOff(PIN_LED2); -#endif -#ifdef PIN_LED3 - ledOff(PIN_LED3); -#endif shutdown_on_long_stop = true; } #endif diff --git a/src/shutdown.h b/src/shutdown.h index 4c82b16c4..a0b10f4ff 100644 --- a/src/shutdown.h +++ b/src/shutdown.h @@ -21,15 +21,8 @@ void powerCommandsCheck() if (shutdownAtMsec) { screen->startShutdownScreen(); playBeep(); -#ifdef PIN_LED1 ledOff(PIN_LED1); -#endif -#ifdef PIN_LED2 ledOff(PIN_LED2); -#endif -#ifdef PIN_LED3 - ledOff(PIN_LED3); -#endif } #endif