Merge branch 'development' into dev-energy

This commit is contained in:
Theo Arends 2023-01-27 16:00:44 +01:00
commit 5b977bf4e4
3 changed files with 465 additions and 180 deletions

View File

@ -1780,8 +1780,6 @@ void LightAnimate(void)
if (TasmotaGlobal.sleep > PWM_MAX_SLEEP) {
sleep_previous = TasmotaGlobal.sleep; // save previous value of sleep
TasmotaGlobal.sleep = PWM_MAX_SLEEP; // set a maximum value (in milliseconds) to sleep to ensure that animations are smooth
} else {
sleep_previous = -1; // if low enough, don't change it
}
} else {
if (sleep_previous > 0) {

File diff suppressed because it is too large Load Diff

View File

@ -132,8 +132,7 @@ print("".join(pin))
#define USE_EQ3_ESP32
#endif
// for testing of BLE_ESP32, we remove xsns_62_MI_ESP32.ino completely, and instead add this modified xsns_52_ibeacon_BLE_ESP32.ino
#if CONFIG_IDF_TARGET_ESP32
#if defined CONFIG_IDF_TARGET_ESP32 || defined CONFIG_IDF_TARGET_ESP32C3 || defined CONFIG_IDF_TARGET_ESP32S3
#ifdef USE_EQ3_ESP32
#ifdef ESP32 // ESP32 only. Use define USE_HM10 for ESP8266 support
#ifdef USE_BLE_ESP32