navigator: compile fixes after rebase

This commit is contained in:
Julian Oes
2016-04-11 18:01:49 +02:00
parent 08ce231d76
commit 50c36296fa
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ MissionBlock::set_loiter_item(struct mission_item_s *item, float min_clearance)
void
MissionBlock::set_follow_target_item(struct mission_item_s *item, float min_clearance, follow_target_s & target, float yaw)
{
if (_navigator->get_vstatus()->condition_landed) {
if (_navigator->get_land_detected()->landed) {
/* landed, don't takeoff, but switch to IDLE mode */
item->nav_cmd = NAV_CMD_IDLE;