aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-18 00:07:25 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-18 00:07:25 +0100
commit5db68264c7b1240811d28d04149e4a49891ab423 (patch)
treefd37facbc86c9fadfdbc78dfdd009d25df20c4ad /ROMFS
parentc94eb3198aa37e57643fb3373d14ecef46807935 (diff)
downloadpx4-firmware-5db68264c7b1240811d28d04149e4a49891ab423.tar.gz
px4-firmware-5db68264c7b1240811d28d04149e4a49891ab423.tar.bz2
px4-firmware-5db68264c7b1240811d28d04149e4a49891ab423.zip
rcS: HIL fixed
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/px4fmu_common/init.d/rcS2
1 files changed, 2 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS
index 32c7991ef..6325bb94f 100644
--- a/ROMFS/px4fmu_common/init.d/rcS
+++ b/ROMFS/px4fmu_common/init.d/rcS
@@ -241,6 +241,7 @@ then
if [ $HIL == yes ]
then
set OUTPUT_MODE hil
+ set FMU_MODE serial
else
# Try to get an USB console if not in HIL mode
nshterm /dev/ttyACM0 &
@@ -373,6 +374,7 @@ then
if [ $HIL == yes ]
then
+ sleep 1
mavlink start -b 230400 -d /dev/ttyACM0
usleep 5000
else