From b2f7427d172196e11814dd3b4669733fee07a596 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Thu, 1 Nov 2018 21:41:42 +0200 Subject: [PATCH] Fix regression for nrg and dsp interface delays --- sonoff/xdsp_interface.ino | 1 - sonoff/xnrg_interface.ino | 1 - 2 files changed, 2 deletions(-) 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; }