aboutsummaryrefslogtreecommitdiffstats
path: root/docs/feature_eeprom.md
diff options
context:
space:
mode:
authorQMK Bot2025-09-09 23:51:51 +0200
committerQMK Bot2025-09-09 23:51:51 +0200
commitff8db0449edd488ae4440e8c102a0752f76f46c3 (patch)
tree90bc046e8318fdcbff38acd932490d2dcf0ba553 /docs/feature_eeprom.md
parent7772f47f04f54cf64db8719a49a225013013aee1 (diff)
parent09ab67c0440d8e5e3faf832d23eb1b754845a573 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs/feature_eeprom.md')
-rw-r--r--docs/feature_eeprom.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_eeprom.md b/docs/feature_eeprom.md
index 22257b3202..7d40e81f5a 100644
--- a/docs/feature_eeprom.md
+++ b/docs/feature_eeprom.md
@@ -100,7 +100,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) { //This disables layer indication, as it's assumed that if you're changing this ... you want that disabled
if (user_config.rgb_layer_change) { // only if this is enabled
user_config.rgb_layer_change = false; // disable it, and
- eeconfig_update_user(user_config.raw); // write the setings to EEPROM
+ eeconfig_update_user(user_config.raw); // write the settings to EEPROM
}
}
return true; break;
@@ -109,7 +109,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
}
```
-And lastly, you want to add the `eeconfig_init_user` function, so that when the EEPROM is reset, you can specify default values, and even custom actions. To force an EEPROM reset, use the `EE_CLR` keycode or [Bootmagic](features/bootmagic) functionallity. For example, if you want to set rgb layer indication by default, and save the default valued.
+And lastly, you want to add the `eeconfig_init_user` function, so that when the EEPROM is reset, you can specify default values, and even custom actions. To force an EEPROM reset, use the `EE_CLR` keycode or [Bootmagic](features/bootmagic) functionality. For example, if you want to set rgb layer indication by default, and save the default valued.
```c
void eeconfig_init_user(void) { // EEPROM is getting reset!