Better throttle boost value

This commit is contained in:
Jason Short 2011-09-24 21:55:54 -07:00
parent d262fdb264
commit bb8f97ec0b
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;
temp = 1.0 - constrain(temp, .5, 1.0);
return (int)(temp * 60.0);
return (int)(temp * g.throttle_cruise);
}