diff options
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/dynamic_keymap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/dynamic_keymap.c b/quantum/dynamic_keymap.c index 10d8c9eb6..27ee6a284 100644 --- a/quantum/dynamic_keymap.c +++ b/quantum/dynamic_keymap.c | |||
| @@ -35,7 +35,11 @@ | |||
| 35 | // Explicitly override it if the keyboard uses a microcontroller with | 35 | // Explicitly override it if the keyboard uses a microcontroller with |
| 36 | // more EEPROM *and* it makes sense to increase it. | 36 | // more EEPROM *and* it makes sense to increase it. |
| 37 | #ifndef DYNAMIC_KEYMAP_EEPROM_MAX_ADDR | 37 | #ifndef DYNAMIC_KEYMAP_EEPROM_MAX_ADDR |
| 38 | # define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 1023 | 38 | # if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__) |
| 39 | # define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047 | ||
| 40 | # else | ||
| 41 | # define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 1023 | ||
| 42 | # endif | ||
| 39 | #endif | 43 | #endif |
| 40 | 44 | ||
| 41 | // If DYNAMIC_KEYMAP_EEPROM_ADDR not explicitly defined in config.h, | 45 | // If DYNAMIC_KEYMAP_EEPROM_ADDR not explicitly defined in config.h, |
