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:
Beat Küng
2020-03-17 23:31:17 -04:00
committed by Daniel Agar
parent 22a38453ab
commit dbb53044ce
19 changed files with 144 additions and 298 deletions
+8 -2
View File
@@ -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