RC st24: change channel input range from [0,4096] to [500,3500] (#5350)

QGC failed to calibrate RC with the old range.
This commit is contained in:
Beat Küng 2016-08-19 20:45:56 +02:00 committed by Lorenz Meier
parent fe62c259e8
commit c3c8fa55b3

View File

@ -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