mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Rover: fix build when rally points disabled
This commit is contained in:
parent
b3958ee2d0
commit
e9c5034c54
@ -15,7 +15,7 @@ bool ModeRTL::_enter()
|
||||
}
|
||||
#else
|
||||
// set destination
|
||||
if (!g2.wp_nav.set_desired_location(rover.home)) {
|
||||
if (!g2.wp_nav.set_desired_location(ahrs.get_home())) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user