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/wilba_tech/rama_works_m6_a/config.h | |
parent | 59af2cbe640191345175bf34fd65f78ab1036647 (diff) |
[Keyboard] Fixed EEPROM start address for firmware using VIA (#6757)
Diffstat (limited to 'keyboards/wilba_tech/rama_works_m6_a/config.h')
-rw-r--r-- | keyboards/wilba_tech/rama_works_m6_a/config.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/wilba_tech/rama_works_m6_a/config.h b/keyboards/wilba_tech/rama_works_m6_a/config.h index b9f12f4253..07396450d6 100644 --- a/keyboards/wilba_tech/rama_works_m6_a/config.h +++ b/keyboards/wilba_tech/rama_works_m6_a/config.h @@ -109,21 +109,21 @@ // 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 // NOTE: M6-A doesn't use RGB backlight, but we keep this // consistent with M6-B which does. // Backlight config starts after EEPROM version -#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35 -// Dynamic keymap starts after backlight config (35+43) -#define DYNAMIC_KEYMAP_EEPROM_ADDR 78 -// Dynamic macro starts after dynamic keymaps (78+(4*6*2)) = (78+48) -#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 126 -#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 898 +#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37 +// Dynamic keymap starts after backlight config (37+43) +#define DYNAMIC_KEYMAP_EEPROM_ADDR 80 +// Dynamic macro starts after dynamic keymaps (80+(4*6*2)) = (80+48) +#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 128 +#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 896 #define DYNAMIC_KEYMAP_MACRO_COUNT 16 |