From c288974b67840b6d2b6e66d40da5f12e2284dce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sat, 11 Mar 2023 23:13:44 +0100 Subject: [PATCH] don't adjust brightness on long press any more --- src/ButtonThread.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ButtonThread.h b/src/ButtonThread.h index 172634895..f35c53a46 100644 --- a/src/ButtonThread.h +++ b/src/ButtonThread.h @@ -123,9 +123,6 @@ class ButtonThread : public concurrency::OSThread static void userButtonPressedLong() { // LOG_DEBUG("Long press!\n"); -#ifdef ARCH_ESP32 - screen->adjustBrightness(); -#endif // If user button is held down for 5 seconds, shutdown the device. if ((millis() - longPressTime > 5 * 1000) && (longPressTime > 0)) { #ifdef HAS_PMU