diff options
author | QMK Bot <hello@qmk.fm> | 2021-05-10 22:38:06 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-05-10 22:38:06 +0000 |
commit | 6bb9113e27c649eeb9dc5b200bfc45eb51952861 (patch) | |
tree | 734aaa152f72ff5c0ed052a593041d2512b4e5ef /quantum | |
parent | 0e7c66e8917ee470d8a3d3904bd8b55c75c8a0b4 (diff) | |
parent | a116b3f1ae4e6dbd09c450bfc74dd2a64f66b7b1 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/dynamic_keymap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/dynamic_keymap.c b/quantum/dynamic_keymap.c index a860b94979..b7a9f2662c 100644 --- a/quantum/dynamic_keymap.c +++ b/quantum/dynamic_keymap.c @@ -35,9 +35,11 @@ // Explicitly override it if the keyboard uses a microcontroller with // more EEPROM *and* it makes sense to increase it. #ifndef DYNAMIC_KEYMAP_EEPROM_MAX_ADDR -# if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__) +# if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) # define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047 -# elif defined(__AVR_AT90USB162__) +# elif defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__) +# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095 +# elif defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega16U4__) || defined(__AVR_AT90USB162__) || defined(__AVR_ATtiny85__) # define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 511 # else # define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 1023 |