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
This commit is contained in:
parent
0cb38abd07
commit
61f0cb9226
@ -132,7 +132,7 @@ static int
|
|||||||
get_throttle(int throttle_input)
|
get_throttle(int throttle_input)
|
||||||
{
|
{
|
||||||
throttle_input = (float)throttle_input * angle_boost();
|
throttle_input = (float)throttle_input * angle_boost();
|
||||||
throttle_input += throttle_slew;
|
throttle_input = max(throttle_slew, throttle_input);
|
||||||
return max(throttle_input, 0);
|
return max(throttle_input, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user