mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -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
|
//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