Revert errant const

This commit is contained in:
Scott Lahteine
2019-09-28 23:51:04 -05:00
parent 7c5e6900e1
commit f2d93f61c3
10 changed files with 10 additions and 10 deletions

View File

@ -109,7 +109,7 @@ bool PersistentStore::access_finish() {
return true;
}
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++) ram_eeprom[pos + i] = value[i];
eeprom_dirty = true;
crc16(crc, value, size);