mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
GCS_MAVLink: remove send-text re allocating for fence
This commit is contained in:
parent
1eb5839f09
commit
bbe86c0d5d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user