diff options
author | Drashna Jaelre <drashna@live.com> | 2022-07-13 01:10:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 01:10:51 -0700 |
commit | 09e4001bba6510afd0b34df154b75c17c32e2076 (patch) | |
tree | 65bfc287027edf09c8d34971a16680205c39b046 | |
parent | 4b108f76892d7c9732df46cd19828a3768a76240 (diff) | |
download | qmk_firmware-09e4001bba6510afd0b34df154b75c17c32e2076.tar.gz qmk_firmware-09e4001bba6510afd0b34df154b75c17c32e2076.zip |
[Bug] Fix compile issue with LED Matrix (#17658)
-rw-r--r-- | quantum/led_matrix/led_matrix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/led_matrix/led_matrix.c b/quantum/led_matrix/led_matrix.c index 75a0aba5a0..14dd0dd48a 100644 --- a/quantum/led_matrix/led_matrix.c +++ b/quantum/led_matrix/led_matrix.c @@ -619,13 +619,13 @@ void led_matrix_decrease_speed(void) { } void led_matrix_set_flags_eeprom_helper(led_flags_t flags, bool write_to_eeprom) { - led_matrix_config.flags = flags; + led_matrix_eeconfig.flags = flags; eeconfig_flag_led_matrix(write_to_eeprom); - dprintf("led matrix set speed [%s]: %u\n", (write_to_eeprom) ? "EEPROM" : "NOEEPROM", led_matrix_config.flags); + dprintf("led matrix set speed [%s]: %u\n", (write_to_eeprom) ? "EEPROM" : "NOEEPROM", led_matrix_eeconfig.flags); } led_flags_t led_matrix_get_flags(void) { - return led_matrix_config.flags; + return led_matrix_eeconfig.flags; } void led_matrix_set_flags(led_flags_t flags) { |