MAVLink: Ignore bogus mission item requests silently

This commit is contained in:
Lorenz Meier 2017-01-15 01:46:55 +01:00
parent 8e297022e6
commit 1c42cea28e

View File

@ -645,7 +645,8 @@ MavlinkMissionManager::handle_mission_request_both(const mavlink_message_t *msg)
} else if (_state == MAVLINK_WPM_STATE_IDLE) {
if (_verbose) { warnx("WPM: MISSION_ITEM_REQUEST(_INT) ERROR: no transfer"); }
_mavlink->send_statustext_critical("IGN MISSION_ITEM_REQUEST(_INT): No active transfer");
// Silently ignore this as some OSDs have buggy mission protocol implementations
//_mavlink->send_statustext_critical("IGN MISSION_ITEM_REQUEST(_INT): No active transfer");
} else {
if (_verbose) { warnx("WPM: MISSION_ITEM_REQUEST(_INT) ERROR: busy (state %d).", _state); }