From 5891aeea4197428dc562b135d654433c50d54045 Mon Sep 17 00:00:00 2001 From: Zachary Lowell Date: Mon, 10 Feb 2025 17:37:42 -0600 Subject: [PATCH] update to working geofence (#2506) Co-authored-by: zach_ubuntu --- src/mavsdk/plugins/geofence/geofence_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mavsdk/plugins/geofence/geofence_impl.cpp b/src/mavsdk/plugins/geofence/geofence_impl.cpp index 5eb6c4f02a..b09963f641 100644 --- a/src/mavsdk/plugins/geofence/geofence_impl.cpp +++ b/src/mavsdk/plugins/geofence/geofence_impl.cpp @@ -46,7 +46,7 @@ void GeofenceImpl::upload_geofence_async( _system_impl->mission_transfer_client().upload_items_async( MAV_MISSION_TYPE_FENCE, - 1, + _system_impl->get_system_id(), items, [this, callback](MavlinkMissionTransferClient::Result result) { auto converted_result = convert_result(result);