Remove setting fixed pin on double-click (#1851)

* Remove setting fixed pin on double-click

* Remove disablePin method
This commit is contained in:
Ben Meadors
2022-10-24 07:16:13 -05:00
committed by GitHub
parent 41267a42f7
commit c47401d729
3 changed files with 3 additions and 31 deletions

View File

@@ -159,9 +159,7 @@ class ButtonThread : public concurrency::OSThread
static void userButtonDoublePressed()
{
#ifdef ARCH_ESP32
disablePin();
#elif defined(USE_EINK)
#if defined(USE_EINK)
digitalWrite(PIN_EINK_EN, digitalRead(PIN_EINK_EN) == LOW);
#endif
}