Removed outdated comment:
" // deadzone moved to //control_in = (abs(control_in) < _dead_zone) ? 0 : control_in;"
This commit is contained in:
parent
c39cafc3c5
commit
a07f37f1b4
@ -109,8 +109,7 @@ RC_Channel::set_pwm(int pwm)
|
|||||||
|
|
||||||
//RC_CHANNEL_ANGLE, RC_CHANNEL_ANGLE_RAW
|
//RC_CHANNEL_ANGLE, RC_CHANNEL_ANGLE_RAW
|
||||||
control_in = pwm_to_angle();
|
control_in = pwm_to_angle();
|
||||||
// deadzone moved to
|
|
||||||
//control_in = (abs(control_in) < _dead_zone) ? 0 : control_in;
|
|
||||||
|
|
||||||
if (fabs(scale_output) != 1){
|
if (fabs(scale_output) != 1){
|
||||||
control_in *= scale_output;
|
control_in *= scale_output;
|
||||||
|
Loading…
Reference in New Issue
Block a user