mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 14:34:54 +01:00
restore wake on touch capability
according to https://github.com/esphome/issues/issues/3440
This commit is contained in:
parent
da72bae94a
commit
abbb27aa0f
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void DeepSleepComponent::deep_sleep_() {
|
|||
|
||||
if (this->touch_wakeup_.has_value() && *(this->touch_wakeup_)) {
|
||||
esp_sleep_enable_touchpad_wakeup();
|
||||
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON);
|
||||
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_AUTO);
|
||||
}
|
||||
#endif
|
||||
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32C6)
|
||||
|
|
Loading…
Reference in a new issue