Info Menu: Runaway Watch state (#14827)

This commit is contained in:
Tim Moore authored and Scott Lahteine committed 2019-09-28 21:53:40 -05:00
1 parent 81b9c7c6ee
commit 7e72768433
12 files changed
+61 -10

No files matched your search

@@ -109,7 +109,7 @@ bool PersistentStore::access_finish() {
return true;
}
bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, uint16_t *crc) {
bool PersistentStore::write_data(int &pos, const uint8_t *value, const 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);