ROMFS: Switch HIL to a setting orthogonal to airframes

This makes it easy to flip any airframe config over to HIL.
This commit is contained in:
Lorenz Meier
2017-07-29 23:06:50 +02:00
parent 8878be5741
commit 8aa1382e08
3 changed files with 8 additions and 3 deletions
@@ -44,5 +44,5 @@ then
param set RWTO_TKOFF 1
fi
set HIL yes
param set SYS_HITL 1
set MIXER AERT
@@ -11,5 +11,4 @@
sh /etc/init.d/rc.mc_defaults
set MIXER quad_x
set HIL yes
param set SYS_HITL 1
+6
View File
@@ -204,6 +204,12 @@ then
set FMU_ARGS "-t"
fi
if param compare SYS_HITL 1
then
# Enable HITL mode
set HIL yes
fi
#
# Set USE_IO flag
#