diff --git a/Rover/mode_auto.cpp b/Rover/mode_auto.cpp index e9bdd4c6f0..0b63954796 100644 --- a/Rover/mode_auto.cpp +++ b/Rover/mode_auto.cpp @@ -195,7 +195,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