From b0b83b31db6919f8ea0ca7f57ca728fad7149ad4 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Wed, 22 Oct 2014 23:20:59 +0100 Subject: [PATCH] Make the adjustment controls more sensitive by using a smaller 3POS switch deadzone. --- src/main/io/rc_controls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/io/rc_controls.c b/src/main/io/rc_controls.c index 2d9e49dca1..703931538d 100644 --- a/src/main/io/rc_controls.c +++ b/src/main/io/rc_controls.c @@ -316,9 +316,9 @@ void processRcAdjustments(controlRateConfig_t *controlRateConfig, rxConfig_t *rx uint8_t channelIndex = NON_AUX_CHANNEL_COUNT + adjustmentConfig->auxChannelIndex; int step; - if (rcData[channelIndex] > rxConfig->maxcheck) { + if (rcData[channelIndex] > rxConfig->midrc + 200) { step = adjustmentConfig->step; - } else if (rcData[channelIndex] < rxConfig->mincheck) { + } else if (rcData[channelIndex] < rxConfig->midrc - 200) { step = 0 - adjustmentConfig->step; } else { // returning the switch to the middle immediately resets the ready state