move auav_x21-v1 init to rc.board

This commit is contained in:
Daniel Agar
2018-12-01 10:03:19 -05:00
parent a8b91c7ac9
commit c9a2033c5b
4 changed files with 90 additions and 17 deletions
-16
View File
@@ -37,22 +37,6 @@ then
lsm303d start
fi
if ver hwcmp AUAV_X21
then
# External I2C bus
hmc5883 -C -T -X start
lis3mdl -X start
# Internal SPI bus ICM-20608-G is rotated 90 deg yaw
mpu6000 -R 2 -T 20608 start
# Internal SPI bus ICM-20602-G is rotated 90 deg yaw
mpu6000 -R 2 -T 20602 start
# Internal SPI bus mpu9250 is rotated 90 deg yaw
mpu9250 -R 2 start
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
# Onboard I2C