From 4238fe5b9c75f5f72526a441cfbd8ccbb2e92705 Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Wed, 26 Aug 2015 11:45:25 +0200 Subject: [PATCH] set correct parameters for missing rc_map values --- ROMFS/px4fmu_common/init.d/rcS | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 2f474fa539..85cbdeb59e 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -110,7 +110,7 @@ then if param compare RC_MAP_ROLL 0 then # So this is a default setup, - # now lets find out if channel 3 + # now lets find out if channel 1 # is calibrated if param compare RC1_MIN 1000 then @@ -126,14 +126,14 @@ then if param compare RC_MAP_PITCH 0 then # So this is a default setup, - # now lets find out if channel 3 + # now lets find out if channel 2 # is calibrated if param compare RC2_MIN 1000 then # This is default, do nothing else # Set old default - param set RC_MAP_ROLL 2 + param set RC_MAP_PITCH 2 fi fi @@ -142,14 +142,14 @@ then if param compare RC_MAP_YAW 0 then # So this is a default setup, - # now lets find out if channel 3 + # now lets find out if channel 4 # is calibrated if param compare RC4_MIN 1000 then # This is default, do nothing else # Set old default - param set RC_MAP_ROLL 4 + param set RC_MAP_YAW 4 fi fi