From 55432d0d91d68150de249d540c06f38239f175b4 Mon Sep 17 00:00:00 2001 From: Wilba Date: Wed, 18 Sep 2019 02:59:34 +1000 Subject: [Keyboard] Fixed EEPROM start address for firmware using VIA (#6757) --- keyboards/nk65/config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'keyboards/nk65') diff --git a/keyboards/nk65/config.h b/keyboards/nk65/config.h index 791e44468..4358d9cf9 100755 --- a/keyboards/nk65/config.h +++ b/keyboards/nk65/config.h @@ -136,19 +136,19 @@ along with this program. If not, see . // 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 // Backlight config starts after EEPROM version -#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35 -// Dynamic keymap starts after backlight config (35+32) -#define DYNAMIC_KEYMAP_EEPROM_ADDR 67 +#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 37 +// Dynamic keymap starts after backlight config (37+32) +#define DYNAMIC_KEYMAP_EEPROM_ADDR 69 #define DYNAMIC_KEYMAP_LAYER_COUNT 4 -// Dynamic macro starts after dynamic keymaps (67+(4*5*15*2)) = (67+600) -#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 667 -#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 398 +// Dynamic macro starts after dynamic keymaps (69+(4*5*15*2)) = (69+600) +#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 669 +#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 396 #define DYNAMIC_KEYMAP_MACRO_COUNT 16 -- cgit v1.2.3-70-g09d2