mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 02:45:41 +00:00
remove screen brightness again
This commit is contained in:
parent
a9ce4338ff
commit
e0da661632
@ -123,7 +123,6 @@ class ButtonThread : public concurrency::OSThread
|
|||||||
static void userButtonPressedLong()
|
static void userButtonPressedLong()
|
||||||
{
|
{
|
||||||
// LOG_DEBUG("Long press!\n");
|
// LOG_DEBUG("Long press!\n");
|
||||||
screen->adjustBrightness();
|
|
||||||
// If user button is held down for 10 seconds, shutdown the device.
|
// If user button is held down for 10 seconds, shutdown the device.
|
||||||
if ((millis() - longPressTime > 10000) && (longPressTime > 0)) {
|
if ((millis() - longPressTime > 10000) && (longPressTime > 0)) {
|
||||||
#if defined(ARCH_NRF52) || defined(ARCH_ESP32)
|
#if defined(ARCH_NRF52) || defined(ARCH_ESP32)
|
||||||
|
Loading…
Reference in New Issue
Block a user