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:
parent
7cec1f2fdb
commit
94e199ecd9
2 changed files with 2 additions and 2 deletions
|
@ -2844,7 +2844,7 @@ void setWaypoint(uint8_t wpNumber, const navWaypoint_t * wpData)
|
||||||
posControl.waypointList[wpNumber - 1].p1 -= 1; // make index (vice WP #)
|
posControl.waypointList[wpNumber - 1].p1 -= 1; // make index (vice WP #)
|
||||||
} else {
|
} else {
|
||||||
posControl.waypointList[wpNumber - 1].p3 = wpNumber - nonGeoWaypointCount;
|
posControl.waypointList[wpNumber - 1].p3 = wpNumber - nonGeoWaypointCount;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
posControl.waypointList[wpNumber - 1].p3 = wpNumber - nonGeoWaypointCount;
|
posControl.waypointList[wpNumber - 1].p3 = wpNumber - nonGeoWaypointCount;
|
||||||
}
|
}
|
||||||
|
|
2
src/main/navigation/navigation_private.h
Executable file → Normal file
2
src/main/navigation/navigation_private.h
Executable file → Normal file
|
@ -357,7 +357,7 @@ typedef struct {
|
||||||
bool waypointListValid;
|
bool waypointListValid;
|
||||||
int8_t waypointCount;
|
int8_t waypointCount;
|
||||||
int8_t geoWaypointCount; // total geospatial WPs in mission
|
int8_t geoWaypointCount; // total geospatial WPs in mission
|
||||||
|
|
||||||
navWaypointPosition_t activeWaypoint; // Local position and initial bearing, filled on waypoint activation
|
navWaypointPosition_t activeWaypoint; // Local position and initial bearing, filled on waypoint activation
|
||||||
int8_t activeWaypointIndex;
|
int8_t activeWaypointIndex;
|
||||||
float wpInitialAltitude; // Altitude at start of WP
|
float wpInitialAltitude; // Altitude at start of WP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue