RC_Channel: remove unused control_mix method

This commit is contained in:
skyscraper 2016-05-05 16:05:27 +01:00 committed by Lucas De Marchi
parent 3c00324fd2
commit 134ea338da
2 changed files with 0 additions and 8 deletions

View File

@ -221,12 +221,6 @@ RC_Channel::set_pwm_no_deadzone(int16_t pwm)
}
}
int16_t
RC_Channel::control_mix(float value)
{
return (1 - abs(control_in / _high_in)) * value + control_in;
}
// returns just the PWM without the offset from radio_min
void
RC_Channel::calc_pwm(void)

View File

@ -85,8 +85,6 @@ public:
// value generated from PWM
int16_t control_in;
int16_t control_mix(float value);
// current values to the servos - degrees * 100 (approx assuming servo is -45 to 45 degrees except [3] is 0 to 100
int16_t servo_out;