Iampete1
62474e6dc8
AP_HAL_Linux: AnalogSource: set_pin return true
2021-10-06 18:42:51 +11:00
Iampete1
4315a69b9d
AP_HAL_Linux: add semaphore to AnalogIn::channel to make it thread safe
2021-03-30 10:44:43 +11:00
Peter Barker
c917cd4dbb
AP_HAL_Linux: make a static-const hal references references to external symbol
2020-03-03 10:12:14 +11:00
murata
30bbe7abb6
AP_HAL_Linux: Unify from print or println to printf.
2017-01-27 18:20:22 +11:00
Lucas De Marchi
490841a814
AP_HAL_Linux: add O_CLOEXEC in places missing it
...
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
dgrat
15a915edd3
AP_HAL_Linux: Simplification of the code
...
I applied the ArduPilot coding style guide and additionally simplified the code where possible.
2016-06-08 11:50:43 -03:00
Lucas De Marchi
71e10c9132
AP_HAL_Linux: fix include order
...
Sort include alphabetically and make them in order:
Main header
system headers
library headers
local headers
While reordering, change a include of endian.h to our sparse-endian.h
which is more reliant to toolchain changes.
2016-05-18 23:05:56 -03:00
Lucas De Marchi
45c6b750f2
AP_HAL_Linux: remove ifdef checks for HAL_BOARD_LINUX
...
Everything inside libraries/AP_HAL_Linux is for Linux boards, there's
not need to add the ifdefs.
2016-05-18 23:05:56 -03:00
Staroselskii Georgii
60426faa52
AP_HAL_Linux: changed ADC logic a bit for Navio 2
...
- make voltage_average_ratiometric() the same as voltage_average()
- make read_latest() the same as voltage_average()
wip
2016-04-27 17:14:21 +03:00
Staroselskii Georgii
a24e9df765
AP_HAL_Linux: added AnalogIn_Navio2
...
This is a shim driver around the temporarily interface that is exported via
sysfs entries.
2016-02-27 03:06:50 -03:00