Commit Graph

17 Commits

Author SHA1 Message Date
Peter Barker d6e5f8398d AP_RTC: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Patrick José Pereira 2ae7edc8b2 AP_RTC: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Andrew Tridgell 43af5893fb AP_RTC: added mktime(), used by AP_Filesystem and AP_GPS 2020-10-20 11:21:00 +11:00
Andrew Tridgell 3397ea24cc AP_RTC: use GCS_SEND_TEXT() 2020-04-29 07:36:55 +10:00
Andrew Tridgell 9d63edbf37 AP_RTC: make all semaphores recursive
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
2020-01-19 20:19:30 +11:00
Andrew Tridgell dc3e345a05 AP_RTC: added get_semaphore() 2020-01-16 20:36:54 +11:00
vierfuffzig cb054e714b AP_RTC: add local time support 2019-10-07 19:55:42 +11:00
Michael du Breuil ba3cfbfb54 AP_RTC: Don't allow RTC times before 2019 2019-09-09 04:43:29 +10:00
Peter Barker 592c7acc4c AP_RTC: add clarifying comment on get_time_utc 2019-08-21 09:38:41 +10:00
Peter Barker 46c880089c AP_RTC: tighten types on get_system_clock_utc
None of these components should ever be negative - given its source is
only ever seconds-since-epoch.
2019-08-21 09:38:41 +10:00
Peter Barker 83b7857349 AP_RTC: add example for RTC functions 2019-08-16 13:47:13 +10:00
Andrew Tridgell f1d32df783 AP_RTC: added a millisecond jitter correction function 2018-12-31 09:56:04 +09:00
Andrew Tridgell 93abb41e77 AP_RTC: added JitterCorrection class 2018-12-04 11:37:38 +11:00
murata 820f9bd260 AP_RTC: Delete unused variables
AP_RTC: Delete unused variables
2018-10-11 13:23:29 +11:00
Peter Barker 312ac7dc73 AP_RTC: return 0 from get_utc_usec if rtc not set 2018-06-15 08:01:22 +10:00
Peter Barker f83e65e04e AP_RTC: add parameter for source types we will set the system time from 2018-06-15 08:01:22 +10:00
Peter Barker ece7ff874c AP_RTC: a library to handle epoch-time 2018-06-15 08:01:22 +10:00