mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 06:13:33 +08:00
Remove LNDMC_ALT_MAX
This should be replaced with the maximum geofence altitude GF_MAX_VER_DIST. I'm not aware anyone is using this functionality as is.
This commit is contained in:
@@ -126,12 +126,10 @@ void RtlMissionFastReverse::setActiveMissionItems()
|
||||
reinterpret_cast<uint8_t *>(&next_mission_item), sizeof(mission_item_s), MAX_DATAMAN_LOAD_WAIT);
|
||||
|
||||
if (success) {
|
||||
mission_apply_limitation(next_mission_item);
|
||||
mission_item_to_position_setpoint(next_mission_item, &pos_sp_triplet->next);
|
||||
}
|
||||
}
|
||||
|
||||
mission_apply_limitation(_mission_item);
|
||||
mission_item_to_position_setpoint(_mission_item, &pos_sp_triplet->current);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user