Skip to content

Commit 6741293

Browse files
committed
LP-605 'uncrustify' new code
1 parent 6364bb8 commit 6741293

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

flight/modules/PathPlanner/pathplanner.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,9 @@ static void pathPlannerTask()
231231
FlightModeSettingsFlightModeChangeRestartsPathPlanGet(&restart);
232232
if (restart == FLIGHTMODESETTINGS_FLIGHTMODECHANGERESTARTSPATHPLAN_TRUE) {
233233
setWaypoint(0);
234+
} else {
235+
setWaypoint(waypointActive.Index);
234236
}
235-
else {
236-
setWaypoint(waypointActive.Index);
237-
}
238237
return;
239238
}
240239

0 commit comments

Comments
 (0)