Skip to content
Snippets Groups Projects
Commit 8ef4f12b authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

rc.sensors: fix BOARD_FMUV3, it was unset too early

It's used further down again.
parent bc9c25a3
No related branches found
No related tags found
No related merge requests found
......@@ -121,11 +121,11 @@ then
fxas21002c start -R 0
fi
# V2 build hwtypecmp is always false
set BOARD_FMUV3 0
if ver hwcmp PX4FMU_V2
then
# V2 build hwtypecmp is always false
set BOARD_FMUV3 0
# External I2C bus
hmc5883 -C -T -X start
lis3mdl -X start
......@@ -218,8 +218,6 @@ then
l3gd20 start
lsm303d start
fi
unset BOARD_FMUV3
fi
if ver hwcmp PX4_SAME70XPLAINED_V1
......@@ -478,6 +476,8 @@ fi
# End Optional drivers #
###############################################################################
unset BOARD_FMUV3
# Wait 20 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire)
usleep 20000
sensors start
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment