Browse Source

2.0.39

Changed how the throttle_slew was added to the output.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2990 f9c3cf11-9bcb-44bc-f272-b75c42450872
master
jasonshort 14 years ago
parent
commit
61f0cb9226
  1. 2
      ArduCopterMega/Attitude.pde

2
ArduCopterMega/Attitude.pde

@ -132,7 +132,7 @@ static int @@ -132,7 +132,7 @@ static int
get_throttle(int throttle_input)
{
throttle_input = (float)throttle_input * angle_boost();
throttle_input += throttle_slew;
throttle_input = max(throttle_slew, throttle_input);
return max(throttle_input, 0);
}

Loading…
Cancel
Save