From c3c8fa55b3e161af285e73433c1cae22ec4e32af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Fri, 19 Aug 2016 20:45:56 +0200 Subject: [PATCH] RC st24: change channel input range from [0,4096] to [500,3500] (#5350) QGC failed to calibrate RC with the old range. --- src/lib/rc/st24.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/rc/st24.c b/src/lib/rc/st24.c index f758279035..ca27ed012b 100644 --- a/src/lib/rc/st24.c +++ b/src/lib/rc/st24.c @@ -61,8 +61,8 @@ const char *decode_states[] = {"UNSYNCED", }; /* define range mapping here, -+100% -> 1000..2000 */ -#define ST24_RANGE_MIN 0.0f -#define ST24_RANGE_MAX 4096.0f +#define ST24_RANGE_MIN 500.0f +#define ST24_RANGE_MAX 3500.0f #define ST24_TARGET_MIN 1000.0f #define ST24_TARGET_MAX 2000.0f