refactor adis16497: use driver base class

This commit is contained in:
Beat Küng
2020-03-17 18:04:57 +01:00
committed by Daniel Agar
parent 1f152d7d43
commit 17761acd49
5 changed files with 97 additions and 132 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ ms4525_airspeed -T 4515 -I -b 3 start
if ! param greater SENS_EN_PMW3901 0
then
# try to start adis16497 only if pmw3901 isn't enabled, or parameter doesn't exists
# TODO: this one is external SPI
adis16497 start
adis16497 -S start
fi
# Possible external compasses