diff --git a/sonoff/support_features.ino b/sonoff/support_features.ino index 30403e6c3..c3cba6874 100644 --- a/sonoff/support_features.ino +++ b/sonoff/support_features.ino @@ -462,7 +462,9 @@ void GetFeatures(void) #ifdef USE_DDSU666 feature5 |= 0x00000400; // Xnrg_11_ddsu666.ino #endif -// feature5 |= 0x00000800; +#ifdef USE_DEEPSLEEP + feature5 |= 0x00000800; // Xdrv_029_deepsleep.ino +#endif // feature5 |= 0x00001000; // feature5 |= 0x00002000; diff --git a/tools/decode-status.py b/tools/decode-status.py index 3d35f1147..f5fd3a2cf 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -171,7 +171,7 @@ a_features = [[ ],[ "USE_BUZZER","USE_RDM6300","USE_IBEACON","USE_SML_M", "USE_INA226","USE_A4988_Stepper","USE_DDS2382","USE_SM2135", - "USE_SHUTTER","USE_PCF8574","USE_DDSU666","", + "USE_SHUTTER","USE_PCF8574","USE_DDSU666","USE_DEEPSLEEP", "","","","", "","","","", "","","","",