Rover: fix build when rally points disabled

This commit is contained in:
Peter Barker 2019-05-10 09:42:12 +10:00 committed by Randy Mackay
parent b3958ee2d0
commit e9c5034c54
1 changed files with 1 additions and 1 deletions

View File

@ -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