diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-21 10:47:36 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-21 10:47:36 +0100 |
commit | 193397b2289b75873cd14597fbbbaa7df14aaee8 (patch) | |
tree | 33b48c492e59f9bbdf2eaf5c881c433f9ad0386d /ROMFS/px4fmu_common | |
parent | 2988136e7eaa1f55c41376b74b58766af9f8fcb9 (diff) | |
parent | 057bcf3172f3c8d1bab561e7e4cad14977cd74d0 (diff) | |
download | px4-firmware-193397b2289b75873cd14597fbbbaa7df14aaee8.tar.gz px4-firmware-193397b2289b75873cd14597fbbbaa7df14aaee8.tar.bz2 px4-firmware-193397b2289b75873cd14597fbbbaa7df14aaee8.zip |
Merge branch 'master' of github.com:PX4/Firmware into beta_mavlink2
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.fw_defaults | 2 | ||||
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.fw_defaults b/ROMFS/px4fmu_common/init.d/rc.fw_defaults index 3a50fcf56..4cd73e23f 100644 --- a/ROMFS/px4fmu_common/init.d/rc.fw_defaults +++ b/ROMFS/px4fmu_common/init.d/rc.fw_defaults @@ -11,4 +11,6 @@ then param set NAV_RTL_ALT 100 param set NAV_RTL_LAND_T -1 param set NAV_ACCEPT_RAD 50 + param set RC_SCALE_ROLL 1 + param set RC_SCALE_PITCH 1 fi
\ No newline at end of file diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 7797feb74..503dbb83e 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -108,7 +108,6 @@ then set HIL no set VEHICLE_TYPE none set MIXER none - set USE_IO yes set OUTPUT_MODE none set PWM_OUTPUTS none set PWM_RATE none @@ -131,6 +130,16 @@ then else set DO_AUTOCONFIG no fi + + # + # Set USE_IO flag + # + if param compare SYS_USE_IO 1 + then + set USE_IO yes + else + set USE_IO no + fi # # Set parameters and env variables for selected AUTOSTART |