removed the on-the-ground limitation for setting simple mode bearing.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1841 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-04-03 05:16:45 +00:00
parent 5d4b8d9913
commit e8c40234a6
1 changed files with 2 additions and 2 deletions

View File

@ -462,10 +462,10 @@ void
init_simple_bearing() init_simple_bearing()
{ {
if(simple_bearing_is_set == false){ if(simple_bearing_is_set == false){
if(g.rc_3.control_in == 0){ //if(g.rc_3.control_in == 0){
// we are on the ground // we are on the ground
initial_simple_bearing = dcm.yaw_sensor; initial_simple_bearing = dcm.yaw_sensor;
simple_bearing_is_set = true; simple_bearing_is_set = true;
} //}
} }
} }