From f19faca78b032c2308d23a07ea98dc1ecff85ed0 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 27 Nov 2017 16:52:56 -0500 Subject: [PATCH] delete unused RC_TH_USER --- src/modules/sensors/parameters.cpp | 1 - src/modules/sensors/rc_params.c | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/src/modules/sensors/parameters.cpp b/src/modules/sensors/parameters.cpp index 3c91563150..b98870bab4 100644 --- a/src/modules/sensors/parameters.cpp +++ b/src/modules/sensors/parameters.cpp @@ -162,7 +162,6 @@ int initialize_parameter_handles(ParameterHandles ¶meter_handles) // These are parameters for which QGroundControl always expects to be returned in a list request. // We do a param_find here to force them into the list. (void)param_find("RC_CHAN_CNT"); - (void)param_find("RC_TH_USER"); (void)param_find("CAL_ACC0_ID"); (void)param_find("CAL_GYRO0_ID"); (void)param_find("CAL_MAG0_ID"); diff --git a/src/modules/sensors/rc_params.c b/src/modules/sensors/rc_params.c index bcfaac5467..6fc66586fe 100644 --- a/src/modules/sensors/rc_params.c +++ b/src/modules/sensors/rc_params.c @@ -1099,21 +1099,6 @@ PARAM_DEFINE_FLOAT(RC18_DZ, 0.0f); PARAM_DEFINE_INT32(RC_CHAN_CNT, 0); -/** - * RC mode switch threshold automatic distribution - * - * This parameter is used by Ground Station software to specify whether - * the threshold values for flight mode switches were automatically calculated. - * 0 indicates that the threshold values were set by the user. Any other value - * indicates that the threshold value where automatically set by the ground - * station software. It is only meant for ground station use. - * - * @boolean - * @group Radio Calibration - */ - -PARAM_DEFINE_INT32(RC_TH_USER, 1); - /** * Roll control channel mapping. *