Persist display intensity to EEPROM
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user