Merge branch 'development' into prerelease-13.0

This commit is contained in:
Theo Arends 2023-06-25 14:32:18 +02:00
commit 0ced0c26e9

View File

@ -697,7 +697,9 @@ void MI32PreInit(void) {
void MI32Init(void) {
if (MI32.mode.init) { return; }
if (TasmotaGlobal.global_state.wifi_down && TasmotaGlobal.global_state.eth_down) { return; }
if (TasmotaGlobal.global_state.wifi_down && TasmotaGlobal.global_state.eth_down) {
if (!(WIFI_MANAGER == Wifi.config_type || WIFI_MANAGER_RESET_ONLY == Wifi.config_type)) return;
}
if (!TasmotaGlobal.global_state.wifi_down) {
TasmotaGlobal.wifi_stay_asleep = true;
@ -2669,4 +2671,4 @@ bool Xsns62(uint32_t function)
#endif // USE_MI_ESP32
#endif // CONFIG_IDF_TARGET_ESP32 or CONFIG_IDF_TARGET_ESP32C3
#endif // ESP32
#endif // USE_BLE_ESP32
#endif // USE_BLE_ESP32