Cleanup
This commit is contained in:
parent
8b7d4611e0
commit
3ca92e892d
|
@ -513,7 +513,7 @@ void eeprom_update(int mapped_addr, uint8_t byte) {
|
|||
}
|
||||
|
||||
void eeprom_write(uint8_t addr, uint8_t byte) {
|
||||
if (!eeprom_info_locked() && (addr >= 0) && (addr < EEPROM_RESERVED)) {
|
||||
if (!eeprom_info_locked() && addr >= 0 && addr < EEPROM_RESERVED) {
|
||||
eeprom_update(eeprom_addr(addr), byte);
|
||||
} else {
|
||||
kiss_indicate_error(ERROR_EEPROM_LOCKED);
|
||||
|
|
Loading…
Reference in New Issue