mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-07-22 14:30:37 -04:00
Added ability to set custom display address
This commit is contained in:
parent
948798cd3e
commit
2536c26f50
6 changed files with 37 additions and 3 deletions
|
@ -1212,6 +1212,10 @@ void di_conf_save(uint8_t dint) {
|
|||
eeprom_update(eeprom_addr(ADDR_CONF_DINT), dint);
|
||||
}
|
||||
|
||||
void da_conf_save(uint8_t dadr) {
|
||||
eeprom_update(eeprom_addr(ADDR_CONF_DADR), dadr);
|
||||
}
|
||||
|
||||
bool eeprom_have_conf() {
|
||||
if (EEPROM.read(eeprom_addr(ADDR_CONF_OK)) == CONF_OK_BYTE) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue