Ardupilot2/libraries/AP_Baro
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
..
examples/BARO_generic AP_Baro: examples use millis/micros/panic functions 2015-11-20 12:29:38 +09:00
AP_Baro_Backend.cpp AP_Baro: use millis/micros/panic functions 2015-11-20 12:29:31 +09:00
AP_Baro_Backend.h AP_Baro: split into frontend/backend 2015-01-09 11:50:54 +11:00
AP_Baro_BMP085.cpp AP_Baro: use millis/micros/panic functions 2015-11-20 12:29:31 +09:00
AP_Baro_BMP085.h AP_Baro: BMP085 driver done, but untested 2015-01-09 11:50:54 +11:00
AP_Baro_HIL.cpp AP_Baro: average SITL baro measurements using update() 2015-10-21 10:25:08 +11:00
AP_Baro_HIL.h AP_Baro: average SITL baro measurements using update() 2015-10-21 10:25:08 +11:00
AP_Baro_MS5611.cpp AP_Baro: MS5637: fix CRC check 2015-12-02 10:38:09 +11:00
AP_Baro_MS5611.h AP_Baro: MS5637: fix CRC check 2015-12-02 10:38:09 +11:00
AP_Baro_PX4.cpp AP_Baro: allow selection of primary barometer and add 3rd baro 2015-09-14 14:27:41 +10:00
AP_Baro_PX4.h AP_Baro: split into frontend/backend 2015-01-09 11:50:54 +11:00
AP_Baro.cpp AP_Baro: use millis/micros/panic functions 2015-11-20 12:29:31 +09:00
AP_Baro.h AP_Baro: don't notify the GCS of new pressure reference too often 2015-11-09 14:34:07 +11:00