From 954ed0ea3cf7b364184679ec7ff4bda341f05921 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Tue, 30 Oct 2018 19:26:24 +0200 Subject: [PATCH] sonoff-basic.bin - Enable sleep = 1 by default --- sonoff/sonoff_post.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonoff/sonoff_post.h b/sonoff/sonoff_post.h index 186d0a349..b6fea83a2 100755 --- a/sonoff/sonoff_post.h +++ b/sonoff/sonoff_post.h @@ -229,6 +229,9 @@ void KNX_CB_Action(message_t const &msg, void *arg); #ifdef USE_BASIC +#undef APP_SLEEP +#define APP_SLEEP 1 // Default to sleep = 1 for USE_BASIC + //#undef USE_ENERGY_SENSOR // Disable energy sensors #undef USE_ARDUINO_OTA // Disable support for Arduino OTA #undef USE_WPS // Disable support for WPS as initial wifi configuration tool