Removed outdated comment:

"	// deadzone moved to
		//control_in = (abs(control_in) < _dead_zone) ? 0 : control_in;"
This commit is contained in:
analoguedevices 2012-02-11 16:51:02 +00:00
parent 969ac70000
commit 0ea6ecf8d1

View File

@ -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;