AMSAT-NA/PacSatSW

The logic for setting the clock needs to be decided. Right now only set at boot.

Opened this issue · 0 comments

ac2cz commented

The RTC is likely much more accurate than Uptime. Should we use it for the time base whenever possible? Right now the Unix time is set at boot but when we request Unix time we actually get the uptime plus an offset. How should this actually work?

  1. Always read the time from the RTC?
  2. Periodically set the uptime from the RTC?
  3. Just rely on the uptime and use the RTC to set the T0 - this is the current approach.