From 6b8f83cd7141fcf755d573bdef89668e243e61aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 17 May 2022 13:01:15 +0200 Subject: [PATCH] don't wake t-echo through the touch button --- src/ButtonThread.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ButtonThread.h b/src/ButtonThread.h index 597a2bb9e..3fc11bc3b 100644 --- a/src/ButtonThread.h +++ b/src/ButtonThread.h @@ -78,10 +78,6 @@ class ButtonThread : public concurrency::OSThread #ifdef BUTTON_PIN_TOUCH userButtonTouch = OneButton(BUTTON_PIN_TOUCH, true, true); -#ifdef INPUT_PULLUP_SENSE - // Some platforms (nrf52) have a SENSE variant which allows wake from sleep - override what OneButton did - pinMode(BUTTON_PIN_TOUCH, INPUT_PULLUP_SENSE); -#endif userButtonTouch.attachClick(touchPressed); wakeOnIrq(BUTTON_PIN_TOUCH, FALLING); #endif