diff options
author | Joel Challis <git@zvecr.com> | 2021-07-24 15:50:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 15:50:32 +0100 |
commit | e562238309fd5fa6eaf81918fab23b4fe674b5f2 (patch) | |
tree | 2bfb7bb2af44f88ec76216598baed0d3c9f0d3fe /keyboards/xd002/keymaps/multilayer_rgb/keymap.c | |
parent | 567da49ed027a936a6f56aa069aad0db4605a198 (diff) |
Fix up xd002 rgb keymaps (#13685)
Diffstat (limited to 'keyboards/xd002/keymaps/multilayer_rgb/keymap.c')
-rw-r--r-- | keyboards/xd002/keymaps/multilayer_rgb/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/xd002/keymaps/multilayer_rgb/keymap.c b/keyboards/xd002/keymaps/multilayer_rgb/keymap.c index 01a96119e5..4ae28fd91b 100644 --- a/keyboards/xd002/keymaps/multilayer_rgb/keymap.c +++ b/keyboards/xd002/keymaps/multilayer_rgb/keymap.c @@ -158,10 +158,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) layer_state_t layer_state_set_user(layer_state_t state) { switch (get_highest_layer(state)) { case _FUNC: - rgblight_setrgb_red(); + rgblite_setrgb(RGB_RED); break; default: // for any other layers, or the default layer - rgblight_setrgb_green(); + rgblite_setrgb(RGB_GREEN); break; } return state; @@ -169,5 +169,5 @@ layer_state_t layer_state_set_user(layer_state_t state) { // default color void keyboard_post_init_user(void) { - rgblight_setrgb_green(); + rgblite_setrgb(RGB_GREEN); } |