Rover: guided mode fix for reached_destination during wpnav

This commit is contained in:
Randy Mackay 2022-01-03 12:51:29 +09:00
parent 34447fa7a8
commit 147b1284c9
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ bool ModeGuided::reached_destination() const
{
switch (_guided_mode) {
case Guided_WP:
return _reached_destination;
return g2.wp_nav.reached_destination();
case Guided_HeadingAndSpeed:
case Guided_TurnRateAndSpeed:
case Guided_Loiter: