forked from Archive/PX4-Autopilot
mission_base: Do not reset mission on invalid mission upload
This commit is contained in:
parent
a92e7a8796
commit
3ac7ed6afa
|
@ -142,7 +142,6 @@ void MissionBase::onMissionUpdate(bool has_mission_items_changed)
|
|||
// only warn if the check failed on merit
|
||||
if ((!_navigator->get_mission_result()->valid) && _mission.count > 0U) {
|
||||
PX4_WARN("mission check failed");
|
||||
resetMission();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue