diff options
author | QMK Bot <hello@qmk.fm> | 2021-04-20 17:52:32 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-04-20 17:52:32 +0000 |
commit | b09d068bf6f33f8dee84f8125fee3b982f5f7def (patch) | |
tree | 37cf3e73e32904f44bf37612e910d9af7beae030 /tmk_core | |
parent | f7f8f97e6a6858358cfbb9367c7990e9b5b91c72 (diff) | |
parent | 1cecd593c81e1dca225919614b6f3f8f3f1d4bf7 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/chibios/eeprom_teensy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/chibios/eeprom_teensy.c b/tmk_core/common/chibios/eeprom_teensy.c index e135e19a21..4aaf665269 100644 --- a/tmk_core/common/chibios/eeprom_teensy.c +++ b/tmk_core/common/chibios/eeprom_teensy.c @@ -363,7 +363,7 @@ void eeprom_initialize(void) { return; } } while (p < (uint16_t *)SYMVAL(__eeprom_workarea_end__)); - flashend = (uint32_t)((uint16_t *)SYMVAL(__eeprom_workarea_end__) - 1); + flashend = (uint32_t)(p - 1); } uint8_t eeprom_read_byte(const uint8_t *addr) { |