mirror of https://github.com/ArduPilot/ardupilot
GCS_Mavlink.pde : mav_nav only used in legacy Mavlink.
This commit is contained in:
parent
4a85c40f03
commit
711bbeb6f3
|
@ -1006,7 +1006,11 @@ GCS_MAVLINK::send_text(gcs_severity severity, const prog_char_t *str)
|
||||||
void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||||
{
|
{
|
||||||
struct Location tell_command = {}; // command for telemetry
|
struct Location tell_command = {}; // command for telemetry
|
||||||
|
|
||||||
|
#if MAVLINK10 == ENABLED
|
||||||
|
#else
|
||||||
static uint8_t mav_nav = 255; // For setting mode (some require receipt of 2 messages...)
|
static uint8_t mav_nav = 255; // For setting mode (some require receipt of 2 messages...)
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (msg->msgid) {
|
switch (msg->msgid) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue