mirror of https://github.com/arendst/Tasmota.git
Rotary experiments
This commit is contained in:
parent
9ac4502c78
commit
83b6665c39
|
@ -372,9 +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
|
#ifdef ROTARY_V1
|
||||||
RotaryHandler();
|
RotaryHandler();
|
||||||
#endif
|
#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…
Reference in New Issue