diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-08-20 21:02:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-20 21:02:53 -0700 |
| commit | a80d7891472335ec297082daecc6fbf90042c38c (patch) | |
| tree | 04d34e9dd3658bf471ca9b11db3fa1095b4aa2c0 /quantum/via.h | |
| parent | afd3bcbf45a9b7de097d7666ced2c674192949e5 (diff) | |
| download | qmk_firmware-a80d7891472335ec297082daecc6fbf90042c38c.tar.gz qmk_firmware-a80d7891472335ec297082daecc6fbf90042c38c.zip | |
Fix issues with VIA EEPROM init and bring in line with eeconfig functionality (#13243)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'quantum/via.h')
| -rw-r--r-- | quantum/via.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/quantum/via.h b/quantum/via.h index de0a21da2..3db318a45 100644 --- a/quantum/via.h +++ b/quantum/via.h | |||
| @@ -152,12 +152,8 @@ bool via_eeprom_is_valid(void); | |||
| 152 | // Keyboard level code (eg. via_init_kb()) should not call this | 152 | // Keyboard level code (eg. via_init_kb()) should not call this |
| 153 | void via_eeprom_set_valid(bool valid); | 153 | void via_eeprom_set_valid(bool valid); |
| 154 | 154 | ||
| 155 | // Flag QMK and VIA/keyboard level EEPROM as invalid. | ||
| 156 | // Used in bootmagic_lite() and VIA command handler. | ||
| 157 | // Keyboard level code should not need to call this. | ||
| 158 | void via_eeprom_reset(void); | ||
| 159 | |||
| 160 | // Called by QMK core to initialize dynamic keymaps etc. | 155 | // Called by QMK core to initialize dynamic keymaps etc. |
| 156 | void eeconfig_init_via(void); | ||
| 161 | void via_init(void); | 157 | void via_init(void); |
| 162 | 158 | ||
| 163 | // Used by VIA to store and retrieve the layout options. | 159 | // Used by VIA to store and retrieve the layout options. |
