Better throttle boost value

This commit is contained in:
Jason Short 2011-09-24 21:55:54 -07:00
parent f8ac191402
commit bdf6471587
1 changed files with 1 additions and 1 deletions

View File

@ -220,6 +220,6 @@ static int get_angle_boost()
{ {
float temp = cos_pitch_x * cos_roll_x; float temp = cos_pitch_x * cos_roll_x;
temp = 1.0 - constrain(temp, .5, 1.0); temp = 1.0 - constrain(temp, .5, 1.0);
return (int)(temp * 60.0); return (int)(temp * g.throttle_cruise);
} }