HAL eeprom cleanup

This commit is contained in:
Scott Lahteine
2021-03-17 23:55:55 -05:00
parent d4ab2024f5
commit 38b44e3fc9
4 changed files with 37 additions and 41 deletions

View File

@ -40,7 +40,7 @@ void eeprom_init() { BL24CXX::init(); }
// Public functions
// ------------------------
void eeprom_write_byte(uint8_t *pos, unsigned char value) {
void eeprom_write_byte(uint8_t *pos, uint8_t value) {
const unsigned eeprom_address = (unsigned)pos;
return BL24CXX::writeOneByte(eeprom_address, value);
}