more clang tidy stuff

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst
2023-02-16 11:28:41 +01:00
committed by Roman Bapst
parent b8d0a8821a
commit 00b1968a5c
2 changed files with 4 additions and 4 deletions
@@ -72,8 +72,8 @@ void FeasibilityChecker::reset()
_first_waypoint_found = false;
_last_lat = NAN;
_last_lon = NAN;
_last_lat = (double)NAN;
_last_lon = (double)NAN;
_last_cmd = -1;
}
@@ -120,8 +120,8 @@ private:
bool _first_waypoint_found{false};
// internal checkDistancesBetweenWaypoints variables
double _last_lat{NAN};
double _last_lon{NAN};
double _last_lat{(double)NAN};
double _last_lon{(double)NAN};
int _last_cmd{-1};
void updateData();