mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 01:53:33 +08:00
double promotion warning fix or ignore per module
This commit is contained in:
committed by
Lorenz Meier
parent
11d348ec4f
commit
cf74166801
@@ -522,8 +522,8 @@ MissionFeasibilityChecker::checkDistancesBetweenWaypoints(const mission_s &missi
|
||||
return true;
|
||||
}
|
||||
|
||||
double last_lat = NAN;
|
||||
double last_lon = NAN;
|
||||
double last_lat = (double)NAN;
|
||||
double last_lon = (double)NAN;
|
||||
|
||||
/* Go through all waypoints */
|
||||
for (size_t i = 0; i < mission.count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user