Commit Graph

13 Commits

Author SHA1 Message Date
Andrew Tridgell 46f35a6910 AP_Baro: work around bad WHOAMI read on DPS310
this fixes an issue with bad read of WHOAMI on a mRoPixracerPro. We
don't know how the sensor gets in a state where WHOAMI can't be read,
but toggling CS does fix it
2021-03-31 13:26:52 +11:00
Andrew Tridgell dad55b496b AP_Baro: support DPS310 temperature fix
separate DPS310 from DSP280
2021-02-09 11:37:07 +11:00
giacomo892 9c42c0f176 AP_Baro: remove unnecessary debug on DPS280 2020-09-25 08:19:29 +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
Andrew Tridgell 8c563ef1bf AP_Baro: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
this makes for cleaner and smaller code as the failure case is not
needed
2020-01-19 20:19:30 +11:00
murata 233fb94417 AP_Baro: Add I2C Access 2019-10-27 20:02:27 +11:00
Andrew Tridgell 94418ca70e AP_Baro: added register checking and reset to DPS280 driver
this is to fix an issue found on a mRoControlZeroF7
2019-10-15 10:22:15 +11:00
Phillip Kocmoud 069d054e5c AP_Baro.cpp: support DPS280 on SPI 2019-05-10 15:05:42 +10:00
Peter Barker 10cc05c8ed AC_Baro: add floating point constant designators 2019-04-05 23:04:17 -07: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
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 667093023c AP_Baro: added DPS280 barometer driver 2018-03-05 10:27:09 +00:00