mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 02:43:34 +08:00
refactor ms5611: use driver base class
Also: remove device type auto-detection as it will not work with together with the new SPI board config (which specifies a specific device type)
This commit is contained in:
@@ -5,7 +5,10 @@
|
||||
|
||||
aerofc_adc start
|
||||
|
||||
ms5611 -T 0 start
|
||||
if ! ms5611 -T 5607 start
|
||||
then
|
||||
ms5611 start
|
||||
fi
|
||||
mpu9250 -s -R 14 start
|
||||
|
||||
# Possible external compasses
|
||||
@@ -16,4 +19,7 @@ ist8310 -I -R 4 start
|
||||
ll40ls start i2c -a
|
||||
|
||||
# Internal SPI (auto detect ms5611 or ms5607)
|
||||
ms5611 -T 0 -s start
|
||||
if ! ms5611 -T 5607 -s start
|
||||
then
|
||||
ms5611 -s start
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user