Add requirement for PWM DIMMER

This commit is contained in:
Adrian Scillato 2021-08-28 15:15:22 -03:00 committed by GitHub
parent c09a23d875
commit 868edc296b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
*/ */
#ifdef USE_PWM_DIMMER #ifdef USE_PWM_DIMMER
#ifdef USE_LIGHT
/*********************************************************************************************\ /*********************************************************************************************\
* Support for Martin Jerry/acenx/Tessan/NTONPOWER SD0x PWM dimmer switches. The brightness of * Support for Martin Jerry/acenx/Tessan/NTONPOWER SD0x PWM dimmer switches. The brightness of
@ -886,4 +887,5 @@ bool Xdrv35(uint8_t function)
return result; return result;
} }
#endif // USE_LIGHT
#endif // USE_PWM_DIMMER #endif // USE_PWM_DIMMER