Commit Graph

15 Commits

Author SHA1 Message Date
Peter Barker 1566000da5 AP_Baro: add missing includes
compilation broken when transitive includes changed
2022-11-15 16:44:38 +11:00
Peter Barker b863f8a331 AP_Baro: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
murata aabbda3978 AP_Baro: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Andrew Tridgell 901978a9b3 AP_Baro: fixed averaging of samples for several drivers 2021-05-07 20:01:45 +10:00
Andrew Tridgell 978a7d2859 AP_Baro: added device IDs for barometers
this allows us to tell what barometers were detected in logs
2020-07-21 08:20:01 +09:00
Patrick José Pereira d36157f314 AP_Baro: Add BME280 ID in BMP280
BME280 has the same memory layout than BMP280,
but with more features.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Andrew Tridgell e4e793b295 AP_Baro: use WITH_SEMAPHORE()
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell b2cc992e0c AP_Baro: convert to use WITH_SEMAPHORE() 2018-08-23 08:21:48 +10:00
Andrew Tridgell 769c99d4d7 AP_Baro: added register checking on BMP280
this follows a log which seems to show an in-flight register
corruption on a MatekF405
2018-08-04 16:44:08 +10:00
night-ghost 740e322438 AP_Baro: fix BMP280 scale 2018-04-13 20:45:48 +10:00
night-ghost cb8a34f784 AP_Baro: added range filter to backend, use it in most sensors (thanks khancyr for style correction) 2018-04-11 14:46:42 +10:00
Andrew Tridgell 375c7b0f5f AP_Baro: rename macros to avoid conflicts
these macros were also defined in NuttX in clock.h
2017-05-06 15:21:14 +10:00
murata f5c3de2a61 AP_Baro: Change from magic number 0 to definition name. 2017-02-18 14:12:36 +00:00
Andrew Tridgell 8aa100d164 AP_Baro: fix for change to timer API 2017-01-14 12:54:37 +11:00
mirkix 1ce5e5360a AP_Baro: Add Bosch BMP280 driver 2017-01-14 12:52:07 +11:00