Ardupilot2/libraries
Lucas De Marchi 30f631de8f AP_Baro: MS5637: fix CRC check
The configuration of MS5637 is different from MS5611 in 2 ways:

    - The PROM is of 112 bytes rather than 128
    - The CRC is located in the first MSB of the first word, not the
      last one

For CRC calculation we also need to zero out the last (missing) word.

This renames _check_crc() to _read_prom(), which returns false when the
PROM doesn't contain valid data. It also makes it virtual so MS5637 can
override it. This also moves the PROM read to be all in the same place
rather than split between the CRC field and coefficient fields. Finally
calculate_crc() is renamed to crc4() to be shorter and add info on what
it does.
2015-12-02 10:38:09 +11:00
..
AC_AttitudeControl Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AC_Fence Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AC_InputManager AC_InputManager: Initial class creation 2015-11-12 19:37:21 +09:00
AC_PID Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AC_PrecLand Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AC_Sprayer Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AC_WPNav Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_ADC AP_ADC: fixed example build 2015-11-20 17:33:17 +11:00
AP_ADC_AnalogSource AP_ADC_AnalogSource: standardize inclusion of libaries headers 2015-08-11 16:28:41 +10:00
AP_ADSB ADSB: minor update to parameter descriptions 2015-11-27 15:02:22 +09:00
AP_AHRS AP_AHRS: fixed float exception on start in SITL 2015-12-01 15:19:45 +11:00
AP_Airspeed Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_Arming AP_Arming: libraries_Text_revision 2015-11-26 08:08:58 +11:00
AP_Baro AP_Baro: MS5637: fix CRC check 2015-12-02 10:38:09 +11:00
AP_BattMonitor AP_BattMonitor: support FMUv4 2015-11-27 18:54:30 +11:00
AP_BoardConfig AP_BoardConfig: use millis/micros/panic functions 2015-11-20 12:29:58 +09:00
AP_Buffer AP_Buffer: change pop_front to return a bool if successful 2014-10-20 08:26:14 +11:00
AP_Camera AP_Camera: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 2015-11-04 12:14:11 +11:00
AP_Common Global: Rename printf format attribute 2015-12-01 07:22:12 +11:00
AP_Compass AP_Compass: examples use millis/micros/panic functions 2015-11-20 12:30:20 +09:00
AP_Curve AP_Curve: remove wrong comment about PSTR 2015-10-30 14:35:49 +09:00
AP_Declination AP_Declination: example uses millis/micros/panic functions 2015-11-20 12:30:27 +09:00
AP_EPM AP_EPM: use millis/micros/panic functions 2015-11-20 12:30:34 +09:00
AP_Frsky_Telem AP_FrSkyTelem: use millis/micros/panic functions 2015-11-20 12:30:41 +09:00
AP_GPS Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_HAL Global: Rename printf format attribute 2015-12-01 07:22:12 +11:00
AP_HAL_AVR Remove AP_HAL_AVR 2015-11-04 12:14:11 +11:00
AP_HAL_Empty AP_HAL_Empty: Remove unused extern declaration for HALs 2015-11-20 16:30:45 +09:00
AP_HAL_FLYMAPLE AP_HAL_FLYMAPLE: Remove unused extern declaration for HALs 2015-11-20 16:32:00 +09:00
AP_HAL_Linux Global: Rename printf format attribute 2015-12-01 07:22:12 +11:00
AP_HAL_PX4 HAL_PX4: expose do_transfer() in API 2015-12-01 07:18:25 +11:00
AP_HAL_SITL AP_HAL_SITL: created ADS-B simulator to generate additional ghost aircraft within SITL 2015-11-23 19:45:40 +11:00
AP_HAL_VRBRAIN AP_HAL_VRBRAIN: Remove unused extern declaration for HALs 2015-11-20 16:32:57 +09:00
AP_InertialNav AP_InertialNav: Address peer review comments 2015-10-20 15:21:36 +11:00
AP_InertialSensor Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_IRLock AP_IRLock: use millis/micros/panic functions 2015-11-20 12:31:35 +09:00
AP_L1_Control Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_LandingGear Remove use of PROGMEM 2015-10-30 14:35:16 +09:00
AP_Limits Replace prog_char and prog_char_t with char 2015-10-30 14:35:30 +09:00
AP_Math AP_Math: remove unused maxf() 2015-12-01 16:28:18 -02:00
AP_Menu AP_Menu: fix wrong printf format for printf 2015-10-30 14:35:41 +09:00
AP_Mission AP_Mission: example uses millis/micros/panic functions 2015-11-20 12:32:09 +09:00
AP_Motors Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_Mount AP_Mount: use millis/micros/panic functions 2015-11-20 12:32:24 +09:00
AP_NavEKF AP_NavEKF: use MAX() instead of maxf() 2015-12-01 16:28:18 -02:00
AP_NavEKF2 Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_Navigation AP_Navigation: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Notify AP_Notify: Fix GPIO declaration for Linux boards 2015-12-01 07:07:26 +11:00
AP_OpticalFlow AP_OpticalFlow: use millis/micros/panic functions 2015-11-20 12:33:19 +09:00
AP_Parachute AP_Parachute: use millis/micros/panic functions 2015-11-20 12:33:26 +09:00
AP_Param AP_Param: copter with vectors when sending parameters 2015-11-09 14:28:20 +11:00
AP_PerfMon AP_PerfMon: use millis/micros/panic functions 2015-11-20 12:33:33 +09:00
AP_Progmem AP_Progmem: remove dead code 2015-10-30 14:35:47 +09:00
AP_Rally AP_Rally: use millis/micros/panic functions 2015-11-20 12:34:04 +09:00
AP_RangeFinder Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
AP_RCMapper Remove use of PROGMEM 2015-10-30 14:35:16 +09:00
AP_Relay AP_Relay: don't default to using two PWMs as relays on FMUv4 2015-11-27 18:54:31 +11:00
AP_RPM AP_RPM: added a SITL RPM backend 2015-11-23 14:30:42 +11:00
AP_RSSI Remove use of PROGMEM 2015-10-30 14:35:16 +09:00
AP_Scheduler AP_Scheduler: use millis/micros/panic functions 2015-11-20 12:34:17 +09:00
AP_SerialManager AP_SerialManager: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 2015-11-04 12:14:13 +11:00
AP_ServoRelayEvents AP_ServoRelayEvents: use millis/micros/panic functions 2015-11-20 12:34:39 +09:00
AP_SpdHgtControl AP_SpdHgtControl: added flight stage FLIGHT_LAND_ABORT 2015-09-09 09:04:24 +10:00
AP_TECS AP_TECS: avoid comparison between signed and unsigned 2015-12-01 16:28:18 -02:00
AP_Terrain AP_Terrain: libraries_Text_revision 2015-11-26 08:10:15 +11:00
AP_Vehicle AP_Vehicle: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
APM_Control Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
APM_OBC APM_OBC: use millis/micros/panic functions 2015-11-20 12:28:28 +09:00
APM_PI Remove use of PROGMEM 2015-10-30 14:35:16 +09:00
DataFlash Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
doc Checking these in makes the libraries too bulky. We need to host them somewhere. 2011-01-04 06:22:02 +00:00
Filter Filter: added reset method on vector filters 2015-11-22 17:30:29 +11:00
GCS_Console build: removed all nocore.inoflag files 2015-11-16 08:05:17 +11:00
GCS_MAVLink GCS_MAVLink: support FMUv4 2015-11-27 18:54:30 +11:00
PID PID: use millis/micros/panic functions 2015-11-20 12:35:42 +09:00
RC_Channel Global: rename min and max macros to uppercase 2015-12-01 16:28:09 -02:00
SITL SITL: update ADSB for new format 2015-11-26 10:25:18 +11:00
StorageManager StorageManager: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 2015-11-04 12:14:13 +11:00