mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Update tasmota.ino
This commit is contained in:
parent
64bd9f1974
commit
67b3702b0b
@ -365,9 +365,6 @@ void loop(void) {
|
|||||||
|
|
||||||
ButtonLoop();
|
ButtonLoop();
|
||||||
SwitchLoop();
|
SwitchLoop();
|
||||||
#ifdef ROTARY_V1
|
|
||||||
RotaryLoop();
|
|
||||||
#endif
|
|
||||||
#ifdef USE_DEVICE_GROUPS
|
#ifdef USE_DEVICE_GROUPS
|
||||||
DeviceGroupsLoop();
|
DeviceGroupsLoop();
|
||||||
#endif // USE_DEVICE_GROUPS
|
#endif // USE_DEVICE_GROUPS
|
||||||
@ -375,6 +372,11 @@ void loop(void) {
|
|||||||
|
|
||||||
if (TimeReached(state_50msecond)) {
|
if (TimeReached(state_50msecond)) {
|
||||||
SetNextTimeInterval(state_50msecond, 50);
|
SetNextTimeInterval(state_50msecond, 50);
|
||||||
|
#ifdef USE_LIGHT
|
||||||
|
#ifdef ROTARY_V1
|
||||||
|
RotaryHandler();
|
||||||
|
#endif // ROTARY_V1
|
||||||
|
#endif // USE_LIGHT
|
||||||
XdrvCall(FUNC_EVERY_50_MSECOND);
|
XdrvCall(FUNC_EVERY_50_MSECOND);
|
||||||
XsnsCall(FUNC_EVERY_50_MSECOND);
|
XsnsCall(FUNC_EVERY_50_MSECOND);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user