aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
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