mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-02 07:27:42 +00:00
Upd settings.ino - set sleep=0 when SetOption36>0
Update settings.ino - set sleep=0 when SetOption36>0
This commit is contained in:
parent
d7df73784f
commit
33f85b2023
@ -857,6 +857,7 @@ void SettingsDelta(void)
|
|||||||
}
|
}
|
||||||
if (Settings.version < 0x0603000A) {
|
if (Settings.version < 0x0603000A) {
|
||||||
Settings.param[P_LOOP_SLEEP_DELAY] = LOOP_SLEEP_DELAY;
|
Settings.param[P_LOOP_SLEEP_DELAY] = LOOP_SLEEP_DELAY;
|
||||||
|
Settings.sleep = 0; // We do not want sleep enabled when SetOption36 is active
|
||||||
}
|
}
|
||||||
if (Settings.version < 0x0603000E) {
|
if (Settings.version < 0x0603000E) {
|
||||||
Settings.flag2.calc_resolution = CALC_RESOLUTION;
|
Settings.flag2.calc_resolution = CALC_RESOLUTION;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user