diff --git a/Rover/mode_auto.cpp b/Rover/mode_auto.cpp index b7cf77163c..4cac31a0d9 100644 --- a/Rover/mode_auto.cpp +++ b/Rover/mode_auto.cpp @@ -201,7 +201,7 @@ bool ModeAuto::get_desired_location(Location& destination) const return rover.mode_loiter.get_desired_location(destination); case Auto_Guided: case Auto_NavScriptTime: - return rover.mode_guided.get_desired_location(destination);\ + return rover.mode_guided.get_desired_location(destination); } // we should never reach here but just in case