ardupilot/libraries
Lucas De Marchi 85c0c98194 AP_ADC: ADS1115: fix driver after conversion to I2CDevice
In _start_conversion(), the check for return code of _dev->transfer() was
inverted. The structure also needs to be PACKED, otherwise there will be
a hole in the middle.  Fix these issues and use be16_t where it makes
sense.

In read() we need to check for the second byte of config register, so
either make it an array of uint8_t or convert from big endian to host
endianness.  It's simpler to leave it as it was, accessing just the
first byte. Also the conversion value is in be16 type an needs to be
converted to host endiannes, not the opposite.

Fix bus number: all boards that use it expect it to be on bus 1, not 0.
2016-07-14 17:32:32 -03:00
..
AC_AttitudeControl AC_PosControl: add get_horizontal_error 2016-07-12 18:40:25 +09:00
AC_Avoidance AC_Avoid: add support for stopping at polygon fence 2016-06-25 15:55:55 +09:00
AC_Fence AC_Fence: add polygon fence check to check_destination_within_fence 2016-07-04 18:25:03 +09:00
AC_InputManager AC_InputManager_Heli: get_pilot_desired_throttle in 0 to 1 range 2016-04-01 11:59:30 +09:00
AC_PID AC_PID: removed AFF from heli PID 2016-05-12 17:37:01 +10:00
AC_PrecLand AC_PrecLand: don't run if not enabled 2016-07-12 18:40:25 +09:00
AC_Sprayer AP_Math: Replace the pythagorous* functions with a variadic template 2016-05-10 11:41:26 -03:00
AC_WPNav AC_WPNav: remove shift_loiter_target 2016-07-04 16:57:06 +09:00
AP_AccelCal AP_AccelCal: Fix typos 2016-05-13 19:20:06 -03:00
AP_ADC AP_ADC: ADS1115: fix driver after conversion to I2CDevice 2016-07-14 17:32:32 -03:00
AP_ADSB AP_ADSB: allow param based VEHICLE list sizes, 1 to 100. 2016-06-26 11:03:33 -07:00
AP_AHRS AP_AHRS: avoid ifdef for AP_MODULE_SUPPORTED 2016-07-14 13:39:47 +10:00
AP_Airspeed AP_Airspeed: I2C: fix after conversion to I2CDevice 2016-07-14 17:32:32 -03:00
AP_Arming AP_Arming: check actual battery instances then max possible instances 2016-06-02 16:59:19 -07:00
AP_Baro AP_Baro: remove zero-init in constructor 2016-07-11 22:11:34 -07:00
AP_BattMonitor AP_BattMonitor: remove voltage2() since we have voltage(x) available 2016-06-02 16:59:26 -07:00
AP_BoardConfig AP_BoardConfig: fix spelling in parameter description 2016-07-04 21:59:30 +09:00
AP_Buffer AP_Buffer: replace header guard with pragma once 2016-02-18 14:52:34 -02:00
AP_Camera AP_Camera: clearer parameter docs for trigger pin 2016-04-15 09:33:47 +10:00
AP_Common AP_Common: provide minimal byteswap.h and endian.h 2016-07-08 19:49:32 -03:00
AP_Compass AP_Compass: BMM150: minor refactors 2016-07-06 10:04:05 -03:00
AP_Declination AP_Declination: Fix typos 2016-05-13 19:20:05 -03:00
AP_EPM Revising ardupilot.com to .org 2016-04-23 22:49:41 -07:00
AP_Frsky_Telem AP_Frsky_Telem: Fix typos 2016-05-13 19:20:05 -03:00
AP_GPS AP_GPS_MAV: use GPS_INPUT_IGNORE_FLAGS 2016-07-12 15:44:46 +09:00
AP_HAL AP_HAL: sparse-endian: unconditionally use byteswap.h 2016-07-08 19:49:32 -03:00
AP_HAL_AVR AP_HAL_AVR: remove examples 2016-05-23 21:49:45 -03:00
AP_HAL_Empty AP_HAL_Empty: fix sitl 2016-07-14 17:32:32 -03:00
AP_HAL_FLYMAPLE AP_HAL_FLYMAPLE: remove hal 2016-05-23 21:49:45 -03:00
AP_HAL_Linux HAL_Linux: adjust include ordering 2016-07-14 13:39:47 +10:00
AP_HAL_PX4 HAL_PX4: implement IMU heater in hal.util for Pixhawk2 2016-07-01 15:29:52 +10:00
AP_HAL_QURT HAL_QURT: fixed typo 2016-07-01 15:35:15 +10:00
AP_HAL_SITL AP_HAL_SITL:use common fenv function 2016-07-07 11:35:18 -03:00
AP_HAL_VRBRAIN HAL_VRBRAIN: added uartF 2016-04-20 09:39:49 +10:00
AP_InertialNav AP_Math: Replace the pythagorous* functions with a variadic template 2016-05-10 11:41:26 -03:00
AP_InertialSensor AP_InertialSensor: avoid ifdef for AP_MODULE_SUPPORTED 2016-07-14 13:39:47 +10:00
AP_IRLock AP_IRLock: refactor interface 2016-07-12 18:40:25 +09:00
AP_L1_Control Revert "AP_L1_Control: coverity scan - variables not initialized in constructor" 2016-07-11 21:59:12 -07:00
AP_LandingGear AP_LandingGear: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_Math AP_Math: add Polygon_outside and Polygon_complete functions 2016-06-25 15:55:55 +09:00
AP_Menu AP_Menu: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
AP_Mission AP_Mission: mavlink parsing should use check_lat/lng functions 2016-06-06 13:08:37 -07:00
AP_Module AP_Module: use ifdef in function, not caller 2016-07-14 13:39:48 +10:00
AP_Motors AP_Motors: added H_RSC_POWER_NEGC and H_RSC_SLEWRATE 2016-07-03 18:29:05 +10:00
AP_Mount AP_Mount: fixed typo 2016-07-01 15:35:34 +10:00
AP_NavEKF AP_NavEKF: remove debug code 2016-05-21 15:13:52 +10:00
AP_NavEKF2 AP_NavEKF2: clean up mag field learned logic 2016-07-11 00:44:33 +10:00
AP_Navigation AP_L1 - add a stale flag 2016-04-21 21:30:57 -07:00
AP_Notify AP_Notify: added tuning error tones 2016-05-28 17:33:30 +10:00
AP_OpticalFlow AP_OpticalFlow: fix optical flow initialization 2016-05-13 11:22:12 -03:00
AP_Parachute AP_Parachute: resolve compile warning re init order 2016-04-22 21:32:35 +09:00
AP_Param AP_Param: display defaults path on startup 2016-06-30 14:16:52 +10:00
AP_Rally AP_Rally: replace header guard with pragma once 2016-03-16 18:40:42 +11:00
AP_RangeFinder AP_RangeFinder: fixed typo 2016-07-01 15:35:39 +10:00
AP_RCMapper AP_RCMapper: replace header guard with pragma once 2016-03-16 18:40:43 +11:00
AP_Relay AP_Relay: replace header guard with pragma once 2016-03-16 18:40:43 +11:00
AP_RPM AP_RPM: Added an example script 2016-05-19 19:01:03 -03:00
AP_RSSI AP_RSSI: use fabsf instead of abs 2016-04-23 23:06:26 -07:00
AP_Scheduler AP_Scheduler: expose loop rate on all builds 2016-06-17 15:02:28 +10:00
AP_SerialManager AP_SerialManager: remove special case for console 2016-05-21 15:25:17 +10:00
AP_ServoRelayEvents AP_ServoRelayEvents: Fix up after RC_Channels refactor 2016-05-10 16:21:15 +10:00
AP_SpdHgtControl AP_SpdHgtControl: update for changed API 2016-05-14 08:26:10 +10:00
AP_TECS Revert "AP_TECS: coverity scan - variables not initialized in constructor" 2016-07-11 22:01:26 -07:00
AP_Terrain AP_Terrain: use HAVE_PAYLOAD_SPACE() 2016-05-21 15:25:15 +10:00
AP_Tuning AP_Tuning: don't warn of controller errors when disarmed 2016-06-04 19:20:45 +10:00
AP_Vehicle AP_Vehicle: moved roll_limit_cd into AP_Vehicle 2016-06-24 11:39:21 +10:00
APM_Control APM_Control: reduce elevator when past LIM_ROLL_CD 2016-06-24 11:28:18 +10:00
APM_OBC APM_OBC: Fix up after RC_Channels refactor 2016-05-10 16:21:15 +10:00
DataFlash DataFlash: Use a unique struct for EKF2 logging 2016-07-09 15:57:35 +10:00
doc doc: Fix typos 2016-05-13 19:20:06 -03:00
Filter Filter: add AverageFilter variant to save current sum 2016-05-10 14:24:59 -03:00
GCS_Console GCS_Console: replace header guard with pragma once 2016-03-16 18:40:44 +11:00
GCS_MAVLink Revert "GCS_MAVLink: coverity scan - variables not initialized in constructor" 2016-07-11 22:01:50 -07:00
PID PID: Remove unused method get_pid_4500 2016-07-06 08:45:01 +09:00
RC_Channel RC_Channel: fixed typo 2016-07-01 15:35:55 +10:00
SITL SITL: added comment on heli interlock 2016-07-12 20:50:22 +10:00
StorageManager StorageManager: added storage region for signing keys 2016-05-21 15:25:12 +10:00