mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
Fix regression for nrg and dsp interface delays
This commit is contained in:
parent
23e18425c4
commit
b2f7427d17
@ -117,7 +117,6 @@ boolean XdspCall(byte Function)
|
|||||||
boolean result = false;
|
boolean result = false;
|
||||||
|
|
||||||
for (byte x = 0; x < xdsp_present; x++) {
|
for (byte x = 0; x < xdsp_present; x++) {
|
||||||
if (global_state.wifi_down) { delay(DRIVER_BOOT_DELAY); }
|
|
||||||
result = xdsp_func_ptr[x](Function);
|
result = xdsp_func_ptr[x](Function);
|
||||||
if (result) break;
|
if (result) break;
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,6 @@ int XnrgCall(byte Function)
|
|||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
for (byte x = 0; x < xnrg_present; x++) {
|
for (byte x = 0; x < xnrg_present; x++) {
|
||||||
if (global_state.wifi_down) { delay(DRIVER_BOOT_DELAY); }
|
|
||||||
result = xnrg_func_ptr[x](Function);
|
result = xnrg_func_ptr[x](Function);
|
||||||
if (result) break;
|
if (result) break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user