Use uint8_t in EEPROM code

This commit is contained in:
Scott Lahteine committed 2018-10-09 19:00:01 -05:00
1 parent ce82015d5f
commit 0bd54392b7
19 files changed
+30 -30

No files matched your search

@@ -53,7 +53,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t *crc, const bool writing/*=true*/) {
do {
uint8_t c = eeprom_read_byte((unsigned char*)pos);
uint8_t c = eeprom_read_byte((uint8_t*)pos);
if (writing) *value = c;
crc16(crc, &c, 1);
pos++;