1
0
Fork 0

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

This commit is contained in:
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
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] ------------------------------------------------------//

View file

@ -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);
}