ifdef RGBLIGHT

This commit is contained in:
numToStr 2024-06-03 11:10:13 +05:30
parent 8ebc21bb25
commit 3e3c2ea68f

View File

@ -3,6 +3,8 @@
#include "quantum.h" #include "quantum.h"
#ifdef RGBLIGHT_ENABLE
// ===== LED/RGB INDICATOR ===== // ===== LED/RGB INDICATOR =====
enum RGB_LAYERS { enum RGB_LAYERS {
RGBL_CAPSL = 0, RGBL_CAPSL = 0,
@ -40,3 +42,5 @@ void keyboard_post_init_kb(void) {
rgblight_layers = rgb_layers; rgblight_layers = rgb_layers;
keyboard_post_init_user(); keyboard_post_init_user();
} }
#endif /* ifdef RGBLIGHT_ENABLE */