Repository navigation
2024.06.6
Refactored and improved alarm handling
The system is able to detect when the clock needs correction due to the timezone (timezone changes are part of the program code and can be modified). This is done by storing the time of next required clock adjustment into the RTC (clock module) as an alarm. If the system is in deep sleep it will wake up when that alarm fires and adjust the clock. Before the changes of this release, the display was turned on for a short while. Since clock adjustments typically occur at night, this might be quite annoying. With these changes now, the display stays dark and the system will immediately go back to sleep mode when the wake up occurred due to a necessary clock adjustment.