]> git.tnoah.ca Git - lora-radio.git/commitdiff
Revert types
authorMark Qvist <mark@unsigned.io>
Fri, 14 Jan 2022 09:55:48 +0000 (10:55 +0100)
committerMark Qvist <mark@unsigned.io>
Fri, 14 Jan 2022 09:55:48 +0000 (10:55 +0100)
Utilities.h

index 129ab73edb3ac217529ee885adf5e567b60dfb16..15a6bd1d6b9775ab8bf88818c586d97a882789c9 100644 (file)
@@ -512,7 +512,7 @@ void eeprom_update(int mapped_addr, uint8_t byte) {
 
 }
 
-void eeprom_write(int addr, uint8_t byte) {
+void eeprom_write(uint8_t addr, uint8_t byte) {
        if (!eeprom_info_locked() && (addr >= 0) && (addr < EEPROM_RESERVED)) {
                eeprom_update(eeprom_addr(addr), byte);
        } else {