GCS_MAVLink: add sanity check for rally mavlink message handling

This commit is contained in:
Peter Barker 2019-02-04 11:16:30 +11:00 committed by Randy Mackay
parent 0ef7c6af59
commit be841d5d0a

View File

@ -94,6 +94,9 @@ void GCS_MAVLINK::handle_common_rally_message(mavlink_message_t *msg)
handle_rally_fetch_point(msg);
break;
default:
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
AP_HAL::panic("Unhandled common rally message");
#endif
break;
}
}