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 3ef5998c0..952fb669b 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) { | |||
54 | // Set RGB to known state | 54 | // Set RGB to known state |
55 | rgb_matrix_enable_noeeprom(); | 55 | rgb_matrix_enable_noeeprom(); |
56 | rgb_matrix_set_color_all(RGB_GREEN); | 56 | rgb_matrix_set_color_all(RGB_GREEN); |
57 | rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); | 57 | rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR); |
58 | user_led_enabled = true; | 58 | user_led_enabled = true; |
59 | } | 59 | } |
60 | // [Process User Input] ------------------------------------------------------// | 60 | // [Process User Input] ------------------------------------------------------// |
diff --git a/keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c b/keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c index b4b77b392..38c595937 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] = { | |||
93 | 93 | ||
94 | void reset_leds(void) { | 94 | void reset_leds(void) { |
95 | current_profile = OFF; | 95 | current_profile = OFF; |
96 | rgblight_enable(); | 96 | rgb_matrix_enable(); |
97 | rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT); | 97 | rgb_matrix_mode(RGB_MATRIX_SOLID_COLOR); |
98 | rgb_matrix_sethsv(0x6a, 0x33, 0xff); | 98 | rgb_matrix_sethsv(0x6a, 0x33, 0xff); |
99 | } | 99 | } |
100 | 100 | ||