logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git
commit: f549b30760a69f8279390469df0de2bcab434c57
parent a0f40d9410d1ecac4b498b999ebd04e65ef762f4
Author: Luis Garcia <luis@bitjester.com>
Date:   Fri, 11 Apr 2025 00:26:11 -0500

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>

Diffstat:

Mkeyboards/work_louder/rgb_functions.c4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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