From 80a378fb029ff3608f7aa47fe98485cd79f9afb4 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Sat, 10 Jul 2021 17:40:52 +1000 Subject: [PATCH] Fix some RGB Matrix-enabled keymaps referring to RGBLight mode --- keyboards/crkbd/keymaps/kidbrazil/keymap.c | 2 +- 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 3ef5998c0719..952fb669bbbc 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 b4b77b392d05..38c5959374a0 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); }