Skip to content

Commit

Permalink
Merge branch 'development' into prerelease-13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arendst committed Jun 25, 2023
2 parents bf5c886 + 99a0f2a commit 0ced0c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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

0 comments on commit 0ced0c2

Please sign in to comment.