Add _DEFAULT_ON lighting configuration options (#21865)

This commit is contained in:
Joel Challis 2023-09-29 18:31:21 +01:00 committed by GitHub
parent 2eed1f5bad
commit 6910ed2de5
Failed to generate hash of commit
8 changed files with 28 additions and 10 deletions

View file

@ -99,7 +99,7 @@ void eeconfig_update_rgb_matrix(void) {
void eeconfig_update_rgb_matrix_default(void) {
dprintf("eeconfig_update_rgb_matrix_default\n");
rgb_matrix_config.enable = 1;
rgb_matrix_config.enable = RGB_MATRIX_DEFAULT_ON;
rgb_matrix_config.mode = RGB_MATRIX_DEFAULT_MODE;
rgb_matrix_config.hsv = (HSV){RGB_MATRIX_DEFAULT_HUE, RGB_MATRIX_DEFAULT_SAT, RGB_MATRIX_DEFAULT_VAL};
rgb_matrix_config.speed = RGB_MATRIX_DEFAULT_SPD;