mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
fix pixhawk 2 (solo) sensor start
This commit is contained in:
committed by
Lorenz Meier
parent
69cc4d7e7f
commit
77298e42db
@@ -102,11 +102,11 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# external MPU6K is rotated 180 degrees yaw
|
# external MPU6K is rotated 180 degrees yaw
|
||||||
if mpu6000 -X -R 4 start
|
if mpu6000 -S -R 4 start
|
||||||
then
|
then
|
||||||
set BOARD_FMUV3 true
|
set BOARD_FMUV3 true
|
||||||
else
|
else
|
||||||
# Check for Pixhawk 2 board
|
# Check for Pixhawk 2.1 board
|
||||||
if mpu9250 -S -R 4 start
|
if mpu9250 -S -R 4 start
|
||||||
then
|
then
|
||||||
set BOARD_FMUV3 true
|
set BOARD_FMUV3 true
|
||||||
|
|||||||
Reference in New Issue
Block a user