Browse Source

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

pull/13554/head
Ryan 2 years ago
committed by GitHub
parent
commit
99f637e82c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      keyboards/crkbd/keymaps/kidbrazil/keymap.c
  2. +2
    -2
      keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c

+ 1
- 1
keyboards/crkbd/keymaps/kidbrazil/keymap.c 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] ------------------------------------------------------//


+ 2
- 2
keyboards/dztech/dz60rgb/keymaps/piv3rt/keymap.c 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);
}


Loading…
Cancel
Save