diff --git a/sonoff/xdsp_interface.ino b/sonoff/xdsp_interface.ino index a2b19ebb8..8d6d5a814 100644 --- a/sonoff/xdsp_interface.ino +++ b/sonoff/xdsp_interface.ino @@ -117,7 +117,6 @@ boolean XdspCall(byte Function) boolean result = false; for (byte x = 0; x < xdsp_present; x++) { - if (global_state.wifi_down) { delay(DRIVER_BOOT_DELAY); } result = xdsp_func_ptr[x](Function); if (result) break; } diff --git a/sonoff/xnrg_interface.ino b/sonoff/xnrg_interface.ino index 1706c4e26..015d5d284 100644 --- a/sonoff/xnrg_interface.ino +++ b/sonoff/xnrg_interface.ino @@ -90,7 +90,6 @@ int XnrgCall(byte Function) int result = 0; for (byte x = 0; x < xnrg_present; x++) { - if (global_state.wifi_down) { delay(DRIVER_BOOT_DELAY); } result = xnrg_func_ptr[x](Function); if (result) break; }