mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: rename parameter to avoid name conflict with lock
This commit is contained in:
parent
5d1261da73
commit
5ebf27ac61
@ -446,11 +446,11 @@ MAV_RESULT GCS_MAVLINK_Sub::handle_command_do_set_roi(const Location &roi_loc)
|
|||||||
return MAV_RESULT_ACCEPTED;
|
return MAV_RESULT_ACCEPTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GCS_MAVLINK_Sub::set_home_to_current_location(bool lock) {
|
bool GCS_MAVLINK_Sub::set_home_to_current_location(bool _lock) {
|
||||||
return sub.set_home_to_current_location(lock);
|
return sub.set_home_to_current_location(_lock);
|
||||||
}
|
}
|
||||||
bool GCS_MAVLINK_Sub::set_home(const Location& loc, bool lock) {
|
bool GCS_MAVLINK_Sub::set_home(const Location& loc, bool _lock) {
|
||||||
return sub.set_home(loc, lock);
|
return sub.set_home(loc, _lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user