ACM : Commands Logic

Altitude cleanup
This commit is contained in:
Jason Short 2012-08-09 16:46:40 -07:00
parent 98b8866215
commit d796814dfc

View File

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