Copter: move MOUNT_STATUS lower in GCS_MAVLink

No functional change
This commit is contained in:
Randy Mackay 2014-11-17 15:44:02 -08:00
parent 48c00728a7
commit c6e70179d2

View File

@ -628,6 +628,11 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id)
#endif
break;
case MSG_HWSTATUS:
CHECK_PAYLOAD_SIZE(HWSTATUS);
send_hwstatus(chan);
break;
case MSG_MOUNT_STATUS:
#if MOUNT == ENABLED
CHECK_PAYLOAD_SIZE(MOUNT_STATUS);
@ -635,11 +640,6 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id)
#endif // MOUNT == ENABLED
break;
case MSG_HWSTATUS:
CHECK_PAYLOAD_SIZE(HWSTATUS);
send_hwstatus(chan);
break;
case MSG_FENCE_STATUS:
case MSG_WIND:
// unused
@ -862,10 +862,10 @@ GCS_MAVLINK::data_stream_send(void)
send_message(MSG_HWSTATUS);
send_message(MSG_SYSTEM_TIME);
send_message(MSG_RANGEFINDER);
send_message(MSG_MOUNT_STATUS);
#if AP_TERRAIN_AVAILABLE
send_message(MSG_TERRAIN);
#endif
send_message(MSG_MOUNT_STATUS);
}
}