diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-18 00:07:25 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-18 00:07:25 +0100 |
commit | 5db68264c7b1240811d28d04149e4a49891ab423 (patch) | |
tree | fd37facbc86c9fadfdbc78dfdd009d25df20c4ad /ROMFS | |
parent | c94eb3198aa37e57643fb3373d14ecef46807935 (diff) | |
download | px4-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/rcS | 2 |
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 |