refactor icm20608g: use driver base class

This commit is contained in:
Beat Küng
2020-03-18 17:43:48 +01:00
committed by Daniel Agar
parent c4a19c8852
commit 924f46ee28
5 changed files with 114 additions and 162 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ fi
if ! icm20602 -s -R 8 start
then
# ICM20608 internal SPI bus ICM-20602-G is rotated 90 deg yaw
icm20608g -R 8 start
icm20608g -s -R 8 start
fi
# For Teal One airframe
+1 -1
View File
@@ -8,7 +8,7 @@ rgbled start -I
adc start
# Internal SPI bus ICM-20608-G
icm20608g -R 8 start
icm20608g -s -R 8 start
# Internal SPI bus ICM-20602
icm20602 -s -R 8 start