Tracker: rename parameter to avoid name conflict with lock

This commit is contained in:
Peter Barker 2019-09-12 19:51:13 +10:00 committed by Peter Barker
parent 714ec6981a
commit ad97009e00

View File

@ -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);
}