diff options
| author | Nick Brassel <nick@tzarc.org> | 2025-03-21 23:38:34 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-21 23:38:34 +1100 |
| commit | 2b00b846dce1d1267dfdb2a3c2972a367cc0dd44 (patch) | |
| tree | 6d801a8d83c58ee646b789bfa9ab912857ee7d8c /quantum/command.c | |
| parent | c9d62ddc78e879053241202b288d0129073b07dc (diff) | |
Non-volatile memory data repository pattern (#24356)
* First batch of eeconfig conversions.
* Offset and length for datablocks.
* `via`, `dynamic_keymap`.
* Fix filename.
* Commentary.
* wilba leds
* satisfaction75
* satisfaction75
* more keyboard whack-a-mole
* satisfaction75
* omnikeyish
* more whack-a-mole
* `generic_features.mk` to automatically pick up nvm repositories
* thievery
* deferred variable resolve
* whitespace
* convert api to structs/unions
* convert api to structs/unions
* convert api to structs/unions
* fixups
* code-side docs
* code size fix
* rollback
* nvm_xxxxx_erase
* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.
* Fixup build.
* Fixup compilation error with encoders.
* Build fixes.
* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.
* Build failure rectification.
Diffstat (limited to 'quantum/command.c')
| -rw-r--r-- | quantum/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/command.c b/quantum/command.c index 024d96917d..96b637f842 100644 --- a/quantum/command.c +++ b/quantum/command.c | |||
| @@ -246,7 +246,7 @@ static void print_eeconfig(void) { | |||
| 246 | xprintf("eeconfig:\ndefault_layer: %u\n", eeconfig_read_default_layer()); | 246 | xprintf("eeconfig:\ndefault_layer: %u\n", eeconfig_read_default_layer()); |
| 247 | 247 | ||
| 248 | debug_config_t dc; | 248 | debug_config_t dc; |
| 249 | dc.raw = eeconfig_read_debug(); | 249 | eeconfig_read_debug(&dc); |
| 250 | xprintf(/* clang-format off */ | 250 | xprintf(/* clang-format off */ |
| 251 | 251 | ||
| 252 | "debug_config.raw: %02X\n" | 252 | "debug_config.raw: %02X\n" |
| @@ -263,7 +263,7 @@ static void print_eeconfig(void) { | |||
| 263 | ); /* clang-format on */ | 263 | ); /* clang-format on */ |
| 264 | 264 | ||
| 265 | keymap_config_t kc; | 265 | keymap_config_t kc; |
| 266 | kc.raw = eeconfig_read_keymap(); | 266 | eeconfig_read_keymap(&kc); |
| 267 | xprintf(/* clang-format off */ | 267 | xprintf(/* clang-format off */ |
| 268 | 268 | ||
| 269 | "keymap_config.raw: %02X\n" | 269 | "keymap_config.raw: %02X\n" |
| @@ -296,7 +296,7 @@ static void print_eeconfig(void) { | |||
| 296 | # ifdef BACKLIGHT_ENABLE | 296 | # ifdef BACKLIGHT_ENABLE |
| 297 | 297 | ||
| 298 | backlight_config_t bc; | 298 | backlight_config_t bc; |
| 299 | bc.raw = eeconfig_read_backlight(); | 299 | eeconfig_read_backlight(&bc); |
| 300 | xprintf(/* clang-format off */ | 300 | xprintf(/* clang-format off */ |
| 301 | "backlight_config" | 301 | "backlight_config" |
| 302 | 302 | ||
