sforkowany z mirror/meshtastic-firmware
add eink userButtonDoublePressed backlight trigger
rodzic
4a053801ce
commit
4cd25bc755
|
@ -282,6 +282,8 @@ class ButtonThread : public OSThread
|
|||
{
|
||||
#ifndef NO_ESP32
|
||||
disablePin();
|
||||
#elif defined(HAS_EINK)
|
||||
digitalWrite(PIN_EINK_EN,digitalRead(PIN_EINK_EN) == LOW);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue