mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Removed outdated comment:
" // deadzone moved to //control_in = (abs(control_in) < _dead_zone) ? 0 : control_in;"
This commit is contained in:
parent
969ac70000
commit
0ea6ecf8d1
@ -109,8 +109,7 @@ RC_Channel::set_pwm(int pwm)
|
||||
|
||||
//RC_CHANNEL_ANGLE, RC_CHANNEL_ANGLE_RAW
|
||||
control_in = pwm_to_angle();
|
||||
// deadzone moved to
|
||||
//control_in = (abs(control_in) < _dead_zone) ? 0 : control_in;
|
||||
|
||||
|
||||
if (fabs(scale_output) != 1){
|
||||
control_in *= scale_output;
|
||||
|
Loading…
Reference in New Issue
Block a user