aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-10-08 13:44:07 +0100
committerGitHub <noreply@github.com>2021-10-08 13:44:07 +0100
commit00fd4044334022b5bbace987f8ab94b72e9f49bc (patch)
tree618c20f13236bf94cea9e67fb5ae01ec3000ee48
parent7c5233e097ce9858559af5bcec09b0c0903a7217 (diff)
downloadqmk_firmware-00fd4044334022b5bbace987f8ab94b72e9f49bc.tar.gz
qmk_firmware-00fd4044334022b5bbace987f8ab94b72e9f49bc.zip
Put back eeconfig_update_ functions (#14751)
-rw-r--r--quantum/led_matrix/led_matrix.c2
-rw-r--r--quantum/rgb_matrix/rgb_matrix.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/quantum/led_matrix/led_matrix.c b/quantum/led_matrix/led_matrix.c
index 2f0086d36..85556d157 100644
--- a/quantum/led_matrix/led_matrix.c
+++ b/quantum/led_matrix/led_matrix.c
@@ -120,6 +120,8 @@ const uint8_t k_led_matrix_split[2] = LED_MATRIX_SPLIT;
120 120
121EECONFIG_DEBOUNCE_HELPER(led_matrix, EECONFIG_LED_MATRIX, led_matrix_eeconfig); 121EECONFIG_DEBOUNCE_HELPER(led_matrix, EECONFIG_LED_MATRIX, led_matrix_eeconfig);
122 122
123void eeconfig_update_led_matrix(void) { eeconfig_flush_led_matrix(true); }
124
123void eeconfig_update_led_matrix_default(void) { 125void eeconfig_update_led_matrix_default(void) {
124 dprintf("eeconfig_update_led_matrix_default\n"); 126 dprintf("eeconfig_update_led_matrix_default\n");
125 led_matrix_eeconfig.enable = 1; 127 led_matrix_eeconfig.enable = 1;
diff --git a/quantum/rgb_matrix/rgb_matrix.c b/quantum/rgb_matrix/rgb_matrix.c
index 0c9ef8f7a..c260b6e1e 100644
--- a/quantum/rgb_matrix/rgb_matrix.c
+++ b/quantum/rgb_matrix/rgb_matrix.c
@@ -141,6 +141,8 @@ const uint8_t k_rgb_matrix_split[2] = RGB_MATRIX_SPLIT;
141 141
142EECONFIG_DEBOUNCE_HELPER(rgb_matrix, EECONFIG_RGB_MATRIX, rgb_matrix_config); 142EECONFIG_DEBOUNCE_HELPER(rgb_matrix, EECONFIG_RGB_MATRIX, rgb_matrix_config);
143 143
144void eeconfig_update_rgb_matrix(void) { eeconfig_flush_rgb_matrix(true); }
145
144void eeconfig_update_rgb_matrix_default(void) { 146void eeconfig_update_rgb_matrix_default(void) {
145 dprintf("eeconfig_update_rgb_matrix_default\n"); 147 dprintf("eeconfig_update_rgb_matrix_default\n");
146 rgb_matrix_config.enable = 1; 148 rgb_matrix_config.enable = 1;