From 309f5db9562ac601af7ddf62c35b20a0725a0b91 Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Fri, 4 Dec 2015 20:36:51 +0100 Subject: [PATCH] LP-191 Receiver activity : Increase min range value and allow all Sbus channels scanning. --- flight/modules/Receiver/receiver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/modules/Receiver/receiver.c b/flight/modules/Receiver/receiver.c index 4dfd26770..10f68da67 100644 --- a/flight/modules/Receiver/receiver.c +++ b/flight/modules/Receiver/receiver.c @@ -99,8 +99,8 @@ static uint8_t isAssistedFlightMode(uint8_t position); static void applyLPF(float *value, ManualControlSettingsResponseTimeElem channel, ManualControlSettingsResponseTimeData *responseTime, uint8_t deadband, float dT); #endif -#define RCVR_ACTIVITY_MONITOR_CHANNELS_PER_GROUP 12 -#define RCVR_ACTIVITY_MONITOR_MIN_RANGE 10 +#define RCVR_ACTIVITY_MONITOR_CHANNELS_PER_GROUP 18 // Sbus max channel +#define RCVR_ACTIVITY_MONITOR_MIN_RANGE 15 struct rcvr_activity_fsm { ManualControlSettingsChannelGroupsOptions group; uint16_t prev[RCVR_ACTIVITY_MONITOR_CHANNELS_PER_GROUP];