CalgaryToSpace / CTS-SAT-1-OBC-Firmware

Firmware for the CTS-SAT-1 ("FrontierSat") mission. Runs on the STM32-based Onboard Computer.
MIT License
6 stars 0 forks source link

Log a warning if the system time changes by too much #117

Open JohnathanBurchill opened 1 month ago

JohnathanBurchill commented 1 month ago

Warn if time synchronization changes the system time by more than some threshold, like 2 s, say.

DeflateAwning commented 1 month ago

Also, on each time sync, log (info-level) the old time (sync_source_offset format), new time (sync_source_offset, where offset is approx. 0), as well as the signed clock shift as a result.