PX4: pass -a 16 to lsm303d start

16G range
This commit is contained in:
Andrew Tridgell 2016-04-11 15:39:48 +10:00
parent b3d58d220e
commit d1e1941a46

View File

@ -337,7 +337,7 @@ then
sh /etc/init.d/rc.error
fi
# external LSM303D is rotated YAW_270 from standard
if lsm303d -X -R 6 start
if lsm303d -a 16 -X -R 6 start
then
echo "lsm303d external started OK"
else
@ -381,7 +381,7 @@ then
else
sh /etc/init.d/rc.error
fi
if lsm303d start
if lsm303d -a 16 start
then
echo "lsm303d started OK"
else