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