mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-09 08:54:05 +08:00
Tracker: rename parameter to avoid name conflict with lock
This commit is contained in:
committed by
Peter Barker
parent
714ec6981a
commit
ad97009e00
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user