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

View File

@@ -8,7 +8,7 @@ adc start
if ! mpu6000 -R 12 -s start
then
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
icm20602 -R 6 start
icm20602 -s -R 6 start
#mpu6000 -R 12 -T 20602 -s start
fi