From ad97009e002a89f0318bfc376c1943caa37cf4f5 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 12 Sep 2019 19:51:13 +1000 Subject: [PATCH] Tracker: rename parameter to avoid name conflict with lock --- AntennaTracker/GCS_Mavlink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 6fb7e46c67..7250071de1 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -458,10 +458,10 @@ MAV_RESULT GCS_MAVLINK_Tracker::handle_command_long_packet(const mavlink_command } } -bool GCS_MAVLINK_Tracker::set_home_to_current_location(bool lock) { +bool GCS_MAVLINK_Tracker::set_home_to_current_location(bool _lock) { return tracker.set_home(AP::gps().location()); } -bool GCS_MAVLINK_Tracker::set_home(const Location& loc, bool lock) { +bool GCS_MAVLINK_Tracker::set_home(const Location& loc, bool _lock) { return tracker.set_home(loc); }