mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user