mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 19:18:03 +06:00
Put back eeconfig_update_ functions (#14751)
This commit is contained in:
parent
7c5233e097
commit
00fd404433
@ -120,6 +120,8 @@ const uint8_t k_led_matrix_split[2] = LED_MATRIX_SPLIT;
|
|||||||
|
|
||||||
EECONFIG_DEBOUNCE_HELPER(led_matrix, EECONFIG_LED_MATRIX, led_matrix_eeconfig);
|
EECONFIG_DEBOUNCE_HELPER(led_matrix, EECONFIG_LED_MATRIX, led_matrix_eeconfig);
|
||||||
|
|
||||||
|
void eeconfig_update_led_matrix(void) { eeconfig_flush_led_matrix(true); }
|
||||||
|
|
||||||
void eeconfig_update_led_matrix_default(void) {
|
void eeconfig_update_led_matrix_default(void) {
|
||||||
dprintf("eeconfig_update_led_matrix_default\n");
|
dprintf("eeconfig_update_led_matrix_default\n");
|
||||||
led_matrix_eeconfig.enable = 1;
|
led_matrix_eeconfig.enable = 1;
|
||||||
|
@ -141,6 +141,8 @@ const uint8_t k_rgb_matrix_split[2] = RGB_MATRIX_SPLIT;
|
|||||||
|
|
||||||
EECONFIG_DEBOUNCE_HELPER(rgb_matrix, EECONFIG_RGB_MATRIX, rgb_matrix_config);
|
EECONFIG_DEBOUNCE_HELPER(rgb_matrix, EECONFIG_RGB_MATRIX, rgb_matrix_config);
|
||||||
|
|
||||||
|
void eeconfig_update_rgb_matrix(void) { eeconfig_flush_rgb_matrix(true); }
|
||||||
|
|
||||||
void eeconfig_update_rgb_matrix_default(void) {
|
void eeconfig_update_rgb_matrix_default(void) {
|
||||||
dprintf("eeconfig_update_rgb_matrix_default\n");
|
dprintf("eeconfig_update_rgb_matrix_default\n");
|
||||||
rgb_matrix_config.enable = 1;
|
rgb_matrix_config.enable = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user