From: Mark Qvist Date: Fri, 14 Jan 2022 10:12:11 +0000 (+0100) Subject: Cleanup X-Git-Url: https://git.tnoah.ca/?a=commitdiff_plain;h=3ca92e892dfa54dea67c31260624eaa25db4df39;p=lora-radio.git Cleanup --- diff --git a/Utilities.h b/Utilities.h index 15a6bd1..fa45296 100644 --- a/Utilities.h +++ b/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);