diff options
author | Luis Garcia <luis@bitjester.com> | 2025-04-11 00:26:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-10 23:26:11 -0600 |
commit | f549b30760a69f8279390469df0de2bcab434c57 (patch) | |
tree | d6441769458ef596bd40e78b4a6b08f001ba5962 | |
parent | a0f40d9410d1ecac4b498b999ebd04e65ef762f4 (diff) |
chore: Allow disabling underglow on Work Louder devices (#25123) (#25120)
* Allow disabling Underglow on Work Louder devices
Allows disabling Underglow on Work Louder devices by using `RGBLIGHT_ENABLE = no` on rules.mk
* Update keyboards/work_louder/rgb_functions.c
Suggested by @zvecr on review.
Co-authored-by: Joel Challis <git@zvecr.com>
---------
Co-authored-by: Joel Challis <git@zvecr.com>
-rw-r--r-- | keyboards/work_louder/rgb_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/work_louder/rgb_functions.c b/keyboards/work_louder/rgb_functions.c index 15d0f432a0..b0d89d8511 100644 --- a/keyboards/work_louder/rgb_functions.c +++ b/keyboards/work_louder/rgb_functions.c @@ -14,10 +14,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef RGBLIGHT_ENABLE + #include "rgblight.h" -#include "rgb_matrix.h" -#ifdef RGBLIGHT_ENABLE #undef WS2812_DI_PIN #define WS2812_DI_PIN RGBLIGHT_DI_PIN |