16 Commits

Author SHA1 Message Date
fc74ff84ce Add 'sntp ip' command for getting SNTP server's IP
Useful for testing server resolution
2023-05-19 18:13:34 +01:00
077f3d5552 Allow alarms to be day-specific 2023-05-19 17:16:10 +01:00
9c9f027bb8 Add support for snoozing alarms
Also modified time_manager to pass time by value to time callbacks as
it's a fairly small struct and it will probably be more robust.
2023-05-19 14:02:49 +01:00
d7dd2025b8 Add seconds to Time type, handle in time component 2023-05-18 01:29:30 +01:00
7926ccc6fa Seperate time storage into its own module 2023-05-18 01:29:30 +01:00
6ec3cae4b3 Seperate SNTP stuff into its own module 2023-05-18 01:29:30 +01:00
89eb99b80f Move time update logic from display module to time manager 2023-05-18 01:29:30 +01:00
d84bb7ac4b Add support for getting day of the week to time module 2023-05-18 01:29:30 +01:00
371238581f Use smooth SNTP sync mode 2023-05-17 15:24:11 +01:00
06966c2ae6 Create sntp command 2023-05-17 15:24:11 +01:00
2ca513b98d Add date support to time manager 2023-05-17 15:24:11 +01:00
a4a4a035f2 Save/load time to/from storage in time_manager 2023-05-17 15:24:11 +01:00
744f8b2504 Configure SNTP 2023-05-16 00:07:43 +01:00
3ab6c20e58 Rename config module to settings 2023-05-16 00:07:43 +01:00
cee2e368dc Flesh out time module 2023-05-16 00:07:43 +01:00
81f5c6aaa0 Create time module stub 2023-05-16 00:07:43 +01:00