don't adjust brightness on long press any more

This commit is contained in:
Thomas Göttgens 2023-03-11 23:13:44 +01:00
parent 9b1d461567
commit c288974b67

View File

@ -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