summaryrefslogtreecommitdiffstats
path: root/keyboards/mxss
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-08-10 03:01:41 +0000
committerQMK Bot <hello@qmk.fm>2022-08-10 03:01:41 +0000
commit663b250e2f2853fef824e37a5e6ba0ff48ece68e (patch)
tree0b345dc8655864c85847a91e18059bb7f8bc32a3 /keyboards/mxss
parent9bbc0cbb3bcd32a5eb56aa2310fc09802256eccb (diff)
parent8a24fbbdaea4f3ff9bdcdf76036bedca6e335bce (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/mxss')
-rw-r--r--keyboards/mxss/mxss_frontled.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/mxss/mxss_frontled.c b/keyboards/mxss/mxss_frontled.c
index f5e4613dfb..8bb93d5fd8 100644
--- a/keyboards/mxss/mxss_frontled.c
+++ b/keyboards/mxss/mxss_frontled.c
@@ -39,9 +39,9 @@ __attribute__ ((weak))
size_t lc_size = sizeof(layer_colors) / sizeof(hs_set);
void fled_init(void) {
- // If EEPROM config exists, load it
- // If VIA EEPROM exists, FLED config should too
- if (via_eeprom_is_valid()) {
+ // This checks both an EEPROM reset (from bootmagic lite, keycodes)
+ // and also firmware build date (from via_eeprom_is_valid())
+ if (eeconfig_is_enabled()) {
fled_load_conf();
// Else, default config
} else {