~ruther/qmk_firmware

1cecd593c81e1dca225919614b6f3f8f3f1d4bf7 — Joel Challis 4 years ago 2bccb71
Fix for gcc10 teensy_lc eeprom build warning (#12587)

1 files changed, 1 insertions(+), 1 deletions(-)

M tmk_core/common/chibios/eeprom_teensy.c
M tmk_core/common/chibios/eeprom_teensy.c => tmk_core/common/chibios/eeprom_teensy.c +1 -1
@@ 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) {