mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 03:41:36 +08:00
Mission: Do not emit status messages if nothing changes
This commit is contained in:
@@ -479,8 +479,6 @@ MavlinkMissionManager::handle_mission_request_list(const mavlink_message_t *msg)
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (_verbose) { warnx("WPM: MISSION_REQUEST_LIST OK nothing to send, mission is empty"); }
|
if (_verbose) { warnx("WPM: MISSION_REQUEST_LIST OK nothing to send, mission is empty"); }
|
||||||
|
|
||||||
_mavlink->send_statustext_info("WPM: mission is empty");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
send_mission_count(msg->sysid, msg->compid, _count);
|
send_mission_count(msg->sysid, msg->compid, _count);
|
||||||
|
|||||||
Reference in New Issue
Block a user