Copter: move sending of meminfo up

This commit is contained in:
Peter Barker 2017-08-04 18:10:38 +10:00 committed by Francisco Ferreira
parent ece800ba90
commit da889bdff5

View File

@ -316,11 +316,6 @@ bool GCS_MAVLINK_Copter::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);
copter.send_attitude(chan);