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>
This commit is contained in:
Luis Garcia 2025-04-11 00:26:11 -05:00 committed by GitHub
parent a0f40d9410
commit f549b30760
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,10 +14,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rgblight.h"
#include "rgb_matrix.h"
#ifdef RGBLIGHT_ENABLE
#include "rgblight.h"
#undef WS2812_DI_PIN
#define WS2812_DI_PIN RGBLIGHT_DI_PIN