ACM : Commands Logic

Altitude cleanup
This commit is contained in:
Jason Short 2012-08-09 16:46:40 -07:00
parent 98b8866215
commit d796814dfc
1 changed files with 1 additions and 2 deletions

View File

@ -363,8 +363,7 @@ static bool verify_takeoff()
return false;
}
// are we above our target altitude?
//return (current_loc.alt > next_WP.alt);
return (current_loc.alt > target_altitude);
return (current_loc.alt > next_WP.alt);
}
// called at 10hz