summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-12-16 15:43:39 +0000
committerGitHub <noreply@github.com>2023-12-16 15:43:39 +0000
commitdc5befd13906f193f6ee8c2f9ace01100a167b20 (patch)
tree39c616b8239474799098fd74adb9c858dafea580 /quantum/rgb_matrix
parent7298551e195373a15fe3eb7bc1341494dba4b713 (diff)
Remove redundant RGB/LED matrix eeconfig init (#22673)
Diffstat (limited to 'quantum/rgb_matrix')
-rw-r--r--quantum/rgb_matrix/rgb_matrix.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix.c b/quantum/rgb_matrix/rgb_matrix.c
index ebaf3077dc..fb7f20c210 100644
--- a/quantum/rgb_matrix/rgb_matrix.c
+++ b/quantum/rgb_matrix/rgb_matrix.c
@@ -460,12 +460,6 @@ void rgb_matrix_init(void) {
}
#endif // RGB_MATRIX_KEYREACTIVE_ENABLED
- if (!eeconfig_is_enabled()) {
- dprintf("rgb_matrix_init_drivers eeconfig is not enabled.\n");
- eeconfig_init();
- eeconfig_update_rgb_matrix_default();
- }
-
eeconfig_init_rgb_matrix();
if (!rgb_matrix_config.mode) {
dprintf("rgb_matrix_init_drivers rgb_matrix_config.mode = 0. Write default values to EEPROM.\n");