bad throttle boost code fixed.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1280 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2010-12-26 22:30:45 +00:00
parent e5bb2b419b
commit 383b0d623a

View File

@ -30,7 +30,7 @@ float angle_boost()
{
//static byte flipper;
float temp = 1 / (cos(dcm.roll) * cos(dcm.pitch));
temp *= .5;
//temp *= .5;
if(temp > 1.2)
temp = 1.2;
return temp;