Peter Barker
d6e5f8398d
AP_RTC: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Patrick José Pereira
2ae7edc8b2
AP_RTC: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andrew Tridgell
43af5893fb
AP_RTC: added mktime(), used by AP_Filesystem and AP_GPS
4 years ago
Andrew Tridgell
3397ea24cc
AP_RTC: use GCS_SEND_TEXT()
5 years ago
Andrew Tridgell
dc3e345a05
AP_RTC: added get_semaphore()
5 years ago
vierfuffzig
cb054e714b
AP_RTC: add local time support
5 years ago
Michael du Breuil
ba3cfbfb54
AP_RTC: Don't allow RTC times before 2019
5 years ago
Peter Barker
592c7acc4c
AP_RTC: add clarifying comment on get_time_utc
6 years ago
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.
6 years ago
murata
820f9bd260
AP_RTC: Delete unused variables
...
AP_RTC: Delete unused variables
6 years ago
Peter Barker
312ac7dc73
AP_RTC: return 0 from get_utc_usec if rtc not set
7 years ago
Peter Barker
f83e65e04e
AP_RTC: add parameter for source types we will set the system time from
7 years ago
Peter Barker
ece7ff874c
AP_RTC: a library to handle epoch-time
7 years ago
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
7 years ago
Andrew Tridgell
391affc02d
AP_HAL: support ChibiOS
7 years ago
Siddharth Bharat Purohit
807ba9d520
HAL: use correct datatype for time conversion
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
murata
ba60cce0c1
AP_HAL: simplify the processing of milliseconds from the time
8 years ago
Peter Barker
e71c71fcac
AP_HAL: correct casting of get_system_clock_ms
8 years ago
Siddharth Bharat Purohit
8903bc9eab
AP_HAL: add support for get realtime on Darwin systems
9 years ago
Randy Mackay
67620f312d
AP_HAL: fix comment for get_time_utc
9 years ago
Niti Rohilla
faec752801
AP_HAL: add get_system_clock_utc functions to Util
9 years ago
Lucas De Marchi
520b0384fd
AP_HAL: remove unused in_progmem flag to print_vprintf
9 years ago
Lucas De Marchi
a8455aa4e3
AP_HAL: Remove Util::{v,}snprintf_P()
9 years ago
Gustavo Jose de Sousa
0456eccca8
AP_HAL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
efe1e01700
AP_HAL: require a buffer write() function in all ports
...
this makes a sufficient performance difference that it is worth it
12 years ago
Andrew Tridgell
0d662c52b3
AP_HAL: fixed length return from snprintf
12 years ago
Andrew Tridgell
0063f1fad8
AP_HAL: added Util.cpp
...
common printf functions
12 years ago