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
Ricardo de Almeida Gonzaga
2236640f66
AP_HAL_Linux: Fix typos
2016-05-13 19:20:06 -03:00
mirkix
fe404c8a5d
AP_HAL_Linux: AnalogIIO: Remove unused code, add scaling for BBBMINI, rework
2016-01-28 13:44:43 -02:00
mirkix
86e335b6b6
AP_HAL_Linux: Prevent buffer overflow
2016-01-19 00:14:48 -02:00
Lucas De Marchi
1fde473afc
AP_HAL_Linux: AnalogIn_IIO: normalize names
...
Use same name for file and classes, preferring AnalogIn_IIO over
IIOAnalogIn.
2016-01-11 15:44:24 -02:00
Lucas De Marchi
be2af0877c
AP_HAL_Linux: AnalogIn_IIO: formatting fixes
...
- remove trailing whitespaces
- use pragma 0 for header guard
2016-01-11 15:44:24 -02:00
Víctor Mayoral Vilches
8195631fac
HAL_Linux: AnalogIn_IIO update reopen_pin
2016-01-11 15:44:24 -02:00
Víctor Mayoral Vilches
b9c83da8c6
HAL_Linux: AnalogIn_IIO, replace reopen by select
...
A new select_pin method has been implemented and
set that changes solely the file descriptor (avoids
reopening the file every time we call set_pin).
2016-01-11 15:44:24 -02:00
Víctor Mayoral Vilches
da1b529415
HAL_Linux: AnalogIn_IIO add init_pins
...
initializes all the available analog
sources and stores the corresponding file descriptors
in fd_analog_sources.
2016-01-11 15:44:24 -02:00
Víctor Mayoral Vilches
546fbd1f25
HAL_Linux: mv AnalogIn_PXF to AnalogIn_IIO
...
Initial implementation used for the PXF moved for
a wider use. The implementation uses the Linux Industrial
I/O Subsystem (IIO) to get Analog Input.
2016-01-11 15:44:24 -02:00