master
Mark Qvist 3 years ago
parent 8b7d4611e0
commit 3ca92e892d
  1. 2
      Utilities.h

@ -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…
Cancel
Save