From 0c89adb4353cbd27e8bc9058bad5b388e0793ba1 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 12 Nov 2020 14:32:34 +0100 Subject: [PATCH] Enable ESP32 API sleep --- tasmota/tasmota_globals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_globals.h b/tasmota/tasmota_globals.h index 6b9495cb0..109a1e505 100644 --- a/tasmota/tasmota_globals.h +++ b/tasmota/tasmota_globals.h @@ -357,8 +357,8 @@ const char kWebColors[] PROGMEM = #define FALLBACK_MODULE WEMOS // [Module2] Select default module on fast reboot where USER_MODULE is user template #endif -#undef APP_NORMAL_SLEEP // ESP32 with BT needs API sleep! Platformio "-DAPP_NORMAL_SLEEP=true" -#define APP_NORMAL_SLEEP false // [SetOption60] Enable normal sleep instead of dynamic sleep +#undef APP_NORMAL_SLEEP // ESP32 with BT needs API sleep! +#define APP_NORMAL_SLEEP true // [SetOption60] Enable normal sleep instead of dynamic sleep #ifndef ARDUINO_ESP32_RELEASE #define ARDUINO_CORE_RELEASE "STAGE"