delete unused RC_DSM_BIND param

This commit is contained in:
Daniel Agar
2017-09-13 05:30:14 -07:00
committed by Lorenz Meier
parent ee6a79279f
commit f26933fc55
3 changed files with 25 additions and 69 deletions
-12
View File
@@ -1049,18 +1049,6 @@ PX4IO::task_main()
parameter_update_s pupdate;
orb_copy(ORB_ID(parameter_update), _t_param, &pupdate);
int32_t dsm_bind_val;
param_t dsm_bind_param;
/* see if bind parameter has been set, and reset it to -1 */
param_get(dsm_bind_param = param_find("RC_DSM_BIND"), &dsm_bind_val);
if (dsm_bind_val > -1) {
dsm_bind_ioctl(dsm_bind_val);
dsm_bind_val = -1;
param_set(dsm_bind_param, &dsm_bind_val);
}
if (!_rc_handling_disabled) {
/* re-upload RC input config as it may have changed */
io_set_rc_config();