mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-09-24 06:34:51 -04:00
Sensible e-ink backlight default
This commit is contained in:
parent
9b792862b9
commit
3379217e19
1 changed files with 5 additions and 1 deletions
|
@ -219,7 +219,11 @@ void setup() {
|
|||
if (eeprom_read(eeprom_addr(ADDR_CONF_DSET)) != CONF_OK_BYTE) {
|
||||
#endif
|
||||
eeprom_update(eeprom_addr(ADDR_CONF_DSET), CONF_OK_BYTE);
|
||||
#if BOARD_MODEL == BOARD_TECHO
|
||||
eeprom_update(eeprom_addr(ADDR_CONF_DINT), 0x03);
|
||||
#else
|
||||
eeprom_update(eeprom_addr(ADDR_CONF_DINT), 0xFF);
|
||||
#endif
|
||||
}
|
||||
#if BOARD_MODEL == BOARD_TECHO
|
||||
display_add_callback(work_while_waiting);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue