mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -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
|
#else
|
||||||
// set destination
|
// set destination
|
||||||
if (!g2.wp_nav.set_desired_location(rover.home)) {
|
if (!g2.wp_nav.set_desired_location(ahrs.get_home())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user