mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 08:53:35 +08:00
mission_base: Do not reset mission on invalid mission upload
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user