Apply const to _EEPROM_writeData value param

master
Scott Lahteine 8 years ago
parent f724ef5820
commit 6d6a1db6ec

@ -183,7 +183,7 @@ void Config_Postprocess() {
bool eeprom_write_error; bool eeprom_write_error;
void _EEPROM_writeData(int &pos, uint8_t* value, uint16_t size) { void _EEPROM_writeData(int &pos, const uint8_t* value, uint16_t size) {
if (eeprom_write_error) return; if (eeprom_write_error) return;
while (size--) { while (size--) {
uint8_t * const p = (uint8_t * const)pos; uint8_t * const p = (uint8_t * const)pos;

Loading…
Cancel
Save