diff options
author | Wilba <Jason.S.Williams@gmail.com> | 2019-09-18 02:59:34 +1000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-09-17 09:59:34 -0700 |
commit | 55432d0d91d68150de249d540c06f38239f175b4 (patch) | |
tree | 5852d7fa32122bf8c4d56c947204b2cf26bd6c82 /keyboards/primekb | |
parent | 59af2cbe640191345175bf34fd65f78ab1036647 (diff) |
[Keyboard] Fixed EEPROM start address for firmware using VIA (#6757)
Diffstat (limited to 'keyboards/primekb')
-rw-r--r-- | keyboards/primekb/prime_e/config.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/primekb/prime_e/config.h b/keyboards/primekb/prime_e/config.h index 9ef4edd88a..46124973de 100644 --- a/keyboards/primekb/prime_e/config.h +++ b/keyboards/primekb/prime_e/config.h @@ -57,16 +57,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // TODO: refactor with new user EEPROM code (coming soon) #define EEPROM_MAGIC 0x451F -#define EEPROM_MAGIC_ADDR 32 +#define EEPROM_MAGIC_ADDR 34 // Bump this every time we change what we store // This will automatically reset the EEPROM with defaults // and avoid loading invalid data from the EEPROM #define EEPROM_VERSION 0x08 -#define EEPROM_VERSION_ADDR 34 +#define EEPROM_VERSION_ADDR 36 // Dynamic keymap starts after EEPROM version -#define DYNAMIC_KEYMAP_EEPROM_ADDR 35 -// Dynamic macro starts after dynamic keymaps (35+(4*13*4*2)) = (35+416) -#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 451 -#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 573 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR +#define DYNAMIC_KEYMAP_EEPROM_ADDR 37 +// Dynamic macro starts after dynamic keymaps (37+(4*13*4*2)) = (37+416) +#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 453 +#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 571 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR #define DYNAMIC_KEYMAP_MACRO_COUNT 16 |