forked from mirrors/qmk_firmware
Fix for gcc10 teensy_lc eeprom build warning (#12587)
This commit is contained in:
parent
2bccb7132d
commit
1cecd593c8
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue