diff options
author | Ryan <fauxpark@gmail.com> | 2021-07-15 03:50:09 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 03:50:09 +1000 |
commit | 99f637e82c0af1ed61ad24163b83799251f05f79 (patch) | |
tree | 7f47dad35b84057fd9991f03994fb8ab055d97a2 | |
parent | ffdfe3798bc7bd374991abe8f10494f2e73aedd5 (diff) | |
download | qmk_firmware-99f637e82c0af1ed61ad24163b83799251f05f79.tar.gz qmk_firmware-99f637e82c0af1ed61ad24163b83799251f05f79.zip |
Fix some RGB Matrix-enabled keymaps referring to RGBLight mode (#13509)
-rw-r--r-- | keyboards/crkbd/keymaps/kidbrazil/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/crkbd/keymaps/kidbrazil/keymap.c b/keyboards/crkbd/keymaps/kidbrazil/keymap.c index 3ef5998c07..952fb669bb 100644 --- a/keyboards/crkbd/keymaps/kidbrazil/keymap.c +++ b/keyboards/crkbd/keymaps/kidbrazil/keymap.c @@ -54,7 +54,7 @@ void keyboard_post_init_user(void) { // Set RGB to known state rgb_matrix_enable_noeeprom(); rgb_matrix_set_color_all(RGB_GREEN); - rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); + rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR); user_led_enabled = true; } // [Process User Input] ------------------------------------------------------// diff --git a/keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c b/keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c index b4b77b392d..38c5959374 100644 --- a/keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c +++ b/keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c @@ -93,8 +93,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { void reset_leds(void) { current_profile = OFF; - rgblight_enable(); - rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT); + rgb_matrix_enable(); + rgb_matrix_mode(RGB_MATRIX_SOLID_COLOR); rgb_matrix_sethsv(0x6a, 0x33, 0xff); } |