Fix some RGB Matrix-enabled keymaps referring to RGBLight mode (#13509)

master
Ryan 2021-07-15 03:50:09 +10:00 committed by GitHub
parent ffdfe3798b
commit 99f637e82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ void keyboard_post_init_user(void) {
// Set RGB to known state // Set RGB to known state
rgb_matrix_enable_noeeprom(); rgb_matrix_enable_noeeprom();
rgb_matrix_set_color_all(RGB_GREEN); 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; user_led_enabled = true;
} }
// [Process User Input] ------------------------------------------------------// // [Process User Input] ------------------------------------------------------//

View File

@ -93,8 +93,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void reset_leds(void) { void reset_leds(void) {
current_profile = OFF; current_profile = OFF;
rgblight_enable(); rgb_matrix_enable();
rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT); rgb_matrix_mode(RGB_MATRIX_SOLID_COLOR);
rgb_matrix_sethsv(0x6a, 0x33, 0xff); rgb_matrix_sethsv(0x6a, 0x33, 0xff);
} }