From c09a23d87501673ae2ce04eebccfa23a49f5944b Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Sat, 28 Aug 2021 15:13:52 -0300 Subject: [PATCH] Add requirements for PWM DIMMER and COUNTER --- tasmota/tasmota_configurations.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index bdcb005cc..e65a70d62 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -982,6 +982,14 @@ #define USE_EMULATION #endif +#ifdef USE_COUNTER +#define USE_LIGHT +#endif + +#ifdef USE_PWM_DIMMER +#define USE_LIGHT +#endif + // Convert legacy slave to client #ifdef USE_TASMOTA_SLAVE #define USE_TASMOTA_CLIENT