Use uint8_t in EEPROM code

This commit is contained in:
Scott Lahteine
2018-10-09 18:59:49 -05:00
parent ce82015d5f
commit 0bd54392b7
19 changed files with 30 additions and 30 deletions

View File

@@ -79,7 +79,7 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t
#if DISABLED(EEPROM_EMULATED_WITH_SRAM)
eeprom_buffered_read_byte(pos)
#else
(*(__IO uint8_t *)(BKPSRAM_BASE + ((unsigned char*)pos)))
(*(__IO uint8_t *)(BKPSRAM_BASE + ((uint8_t*)pos)))
#endif
);