allow wake on touch

This commit is contained in:
mverch67 2025-04-16 13:18:27 +02:00
parent 8deff9bdc2
commit 71a77c1dd3

View File

@ -400,7 +400,7 @@ esp_sleep_wakeup_cause_t doLightSleep(uint64_t sleepMsec) // FIXME, use a more r
#ifdef INPUTDRIVER_ENCODER_BTN
gpio_wakeup_enable((gpio_num_t)INPUTDRIVER_ENCODER_BTN, GPIO_INTR_LOW_LEVEL);
#endif
#ifdef T_WATCH_S3
#if defined(T_WATCH_S3) || defined(ELECROW)
gpio_wakeup_enable((gpio_num_t)SCREEN_TOUCH_INT, GPIO_INTR_LOW_LEVEL);
#endif
enableLoraInterrupt();
@ -434,7 +434,7 @@ esp_sleep_wakeup_cause_t doLightSleep(uint64_t sleepMsec) // FIXME, use a more r
gpio_wakeup_disable(pin);
#endif
#ifdef T_WATCH_S3
#if defined(T_WATCH_S3) || defined(ELECROW)
gpio_wakeup_disable((gpio_num_t)SCREEN_TOUCH_INT);
#endif