Match up write_data signatures
This commit is contained in:
@ -80,7 +80,7 @@ static char _ALIGN(4) HAL_eeprom_data[HAL_EEPROM_SIZE];
|
||||
|
||||
#endif // !SDSUPPORT
|
||||
|
||||
bool PersistentStore::write_data(int &pos, const uint8_t *value, const size_t size, uint16_t *crc) {
|
||||
bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, uint16_t *crc) {
|
||||
for (size_t i = 0; i < size; i++)
|
||||
HAL_eeprom_data[pos + i] = value[i];
|
||||
crc16(crc, value, size);
|
||||
|
Reference in New Issue
Block a user