GCS_MAVLink: remove send-text re allocating for fence

This commit is contained in:
Randy Mackay 2019-12-09 20:33:11 +09:00 committed by Peter Barker
parent 9e51731bae
commit 6d94d2b62f

View File

@ -185,7 +185,6 @@ MAV_MISSION_RESULT MissionItemProtocol_Fence::allocate_receive_resources(const u
}
const uint16_t allocation_size = count * sizeof(AC_PolyFenceItem);
gcs().send_text(MAV_SEVERITY_DEBUG, "Allocating %u bytes for fence upload", allocation_size);
if (allocation_size != 0) {
_new_items = (AC_PolyFenceItem*)malloc(allocation_size);
if (_new_items == nullptr) {