aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/an_c
diff options
context:
space:
mode:
authorGravatar Andrew Kannan <andrew.kannan@klaviyo.com>2019-10-30 02:45:58 -0400
committerGravatar noroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-29 23:45:58 -0700
commit455a0c597854b417c4dc02a462433043bddfa830 (patch)
treeca5564e81e62cefe24816ed04931e60c80a422c8 /keyboards/cannonkeys/an_c
parent674fcc474c162f44fadfa8a796134751d80ee639 (diff)
downloadqmk_firmware-455a0c597854b417c4dc02a462433043bddfa830.tar.gz
[Keyboard] New CannonKeys boards and EEPROM fixes (#6968)
* Add Iron165 * CannonKeys new boards and cleanup * Tmo50 info json * Update readme for TMOv2 * update via keymap tmo * info json again * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> * Address PR comments * More changes for rules files cleanup * info.json fixed? * Fix Savage65 matrix * Apply suggestions from code review Thanks noroadsleft for the improvements! Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Bump eeprom version * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/cannonkeys/an_c')
-rw-r--r--keyboards/cannonkeys/an_c/config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h
index f8ded7c1f..ef480521b 100644
--- a/keyboards/cannonkeys/an_c/config.h
+++ b/keyboards/cannonkeys/an_c/config.h
@@ -62,21 +62,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// EEPROM usage
// TODO: refactor with new user EEPROM code (coming soon)
#define EEPROM_MAGIC 0x451F
-#define EEPROM_MAGIC_ADDR 32
+#define EEPROM_MAGIC_ADDR 40
// 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 0x02
-#define EEPROM_VERSION_ADDR 34
+#define EEPROM_VERSION 0x03
+#define EEPROM_VERSION_ADDR 42
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
// Dynamic macro starts after dynamic keymaps (35+(4*5*15*2)) = (35+600) = 635
// start + layer * rows * col * 2
-#define DYNAMIC_KEYMAP_EEPROM_ADDR 35
-#define EEPROM_CUSTOM_BACKLIGHT 636
-#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 637
-#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 200
+#define DYNAMIC_KEYMAP_EEPROM_ADDR 43
+#define EEPROM_CUSTOM_BACKLIGHT 644
+#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 645
+#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 192
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
/*