norbert-walter / esp32-nmea2000-obp60

nmea2000 gateway with ESP32
GNU General Public License v2.0
14 stars 10 forks source link

dev20240920: 'save/restart' doesn't reset ILUM (backlight) #89

Open W-Geronius opened 1 month ago

W-Geronius commented 1 month ago

other than in OBP60 V1, restarting the device via configuration will not change backlight illumination anymore. However, this may be considered as a feature: IRL 'keylock' sometimes needs to be released via configuration/restart - esp. in night conditions, preserving the ILUM state is a good thing!

norbert-walter commented 1 month ago

It is not a feature. It is unintentionally but the function is not bad especially at night during a reboot.

W-Geronius commented 1 month ago

There is a difference between 'restart' via web interface and 'reboot'.

see definition of ESP.restart() in espressiv library

Unintentional reboots (like when connecting/disconnecting a terminal to USB) will reset ILUM. Are there any other settings that should in fact be reset on restart?