1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-19 06:15:14 +03:00

Fix white space

This commit is contained in:
breadoven 2021-02-10 22:38:30 +00:00
parent 7cec1f2fdb
commit 94e199ecd9
2 changed files with 2 additions and 2 deletions

View file

@ -2844,7 +2844,7 @@ void setWaypoint(uint8_t wpNumber, const navWaypoint_t * wpData)
posControl.waypointList[wpNumber - 1].p1 -= 1; // make index (vice WP #)
} else {
posControl.waypointList[wpNumber - 1].p3 = wpNumber - nonGeoWaypointCount;
}
}
} else {
posControl.waypointList[wpNumber - 1].p3 = wpNumber - nonGeoWaypointCount;
}

2
src/main/navigation/navigation_private.h Executable file → Normal file
View file

@ -357,7 +357,7 @@ typedef struct {
bool waypointListValid;
int8_t waypointCount;
int8_t geoWaypointCount; // total geospatial WPs in mission
navWaypointPosition_t activeWaypoint; // Local position and initial bearing, filled on waypoint activation
int8_t activeWaypointIndex;
float wpInitialAltitude; // Altitude at start of WP