Skip to content

Commit

Permalink
Fix for gcc10 teensy_lc eeprom build warning (qmk#12587)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and toddyamakawa committed May 19, 2021
1 parent 485eb52 commit f09a0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/common/chibios/eeprom_teensy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f09a0a0

Please sign in to comment.