Sub: move sending of meminfo up

This commit is contained in:
Peter Barker 2017-08-04 18:10:53 +10:00 committed by Francisco Ferreira
parent 9eb96886e5
commit 8692bb4619

View File

@ -455,11 +455,6 @@ bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
}
break;
case MSG_EXTENDED_STATUS2:
CHECK_PAYLOAD_SIZE(MEMINFO);
send_meminfo();
break;
case MSG_ATTITUDE:
CHECK_PAYLOAD_SIZE(ATTITUDE);
sub.send_attitude(chan);