Selaa lähdekoodia

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>
Luis Garcia 1 vuosi sitten
vanhempi
sitoutus
f549b30760
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      keyboards/work_louder/rgb_functions.c

+ 2 - 2
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