add eink userButtonDoublePressed backlight trigger

This commit is contained in:
Andre Kirchhoff 2021-12-18 17:47:54 -03:00 committed by GitHub
parent 4a053801ce
commit 4cd25bc755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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