mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-10-01 03:15:40 -04:00
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
Block a user