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/maartenwut/plain60 | |
parent | 59af2cbe640191345175bf34fd65f78ab1036647 (diff) |
[Keyboard] Fixed EEPROM start address for firmware using VIA (#6757)
Diffstat (limited to 'keyboards/maartenwut/plain60')
-rw-r--r-- | keyboards/maartenwut/plain60/config.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/maartenwut/plain60/config.h b/keyboards/maartenwut/plain60/config.h index a86c235871..d17481617f 100644 --- a/keyboards/maartenwut/plain60/config.h +++ b/keyboards/maartenwut/plain60/config.h @@ -55,16 +55,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*10*6*2)) = (35+480) -#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 635 -#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 389 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR +#define DYNAMIC_KEYMAP_EEPROM_ADDR 37 +// Dynamic macro starts after dynamic keymaps (37+(4*10*6*2)) = (37+480) +#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637 +#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 387 // 1024-DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR #define DYNAMIC_KEYMAP_MACRO_COUNT 16 |