refactor icm20602: use driver base class

This commit is contained in:
Beat Küng
2020-03-11 19:00:54 +01:00
committed by Daniel Agar
parent 975227c52a
commit 2f3174abb0
7 changed files with 118 additions and 184 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ fi
# will prevent the incorrect driver from a successful initialization.
# ICM20602 internal SPI bus ICM-20608-G is rotated 90 deg yaw
if ! icm20602 -R 8 start
if ! icm20602 -s -R 8 start
then
# ICM20608 internal SPI bus ICM-20602-G is rotated 90 deg yaw
icm20608g -R 8 start