From 83b6665c39310be50c777bc64bed7721437a578a Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 1 Jul 2020 10:24:46 +0200 Subject: [PATCH] Rotary experiments --- tasmota/tasmota.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index fec5706d4..b89c63a48 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -372,9 +372,11 @@ void loop(void) { if (TimeReached(state_50msecond)) { SetNextTimeInterval(state_50msecond, 50); +#ifdef USE_LIGHT #ifdef ROTARY_V1 RotaryHandler(); -#endif +#endif // ROTARY_V1 +#endif // USE_LIGHT XdrvCall(FUNC_EVERY_50_MSECOND); XsnsCall(FUNC_EVERY_50_MSECOND); }