mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-07-22 14:30:37 -04:00
Persist display intensity to EEPROM
This commit is contained in:
parent
7e86873ead
commit
7274a6cc70
4 changed files with 13 additions and 0 deletions
|
@ -1096,6 +1096,10 @@ void bt_conf_save(bool is_enabled) {
|
|||
}
|
||||
}
|
||||
|
||||
void di_conf_save(uint8_t dint) {
|
||||
eeprom_update(eeprom_addr(ADDR_CONF_DINT), dint);
|
||||
}
|
||||
|
||||
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