double promotion warning fix or ignore per module

This commit is contained in:
Daniel Agar
2018-01-07 21:43:17 -05:00
committed by Lorenz Meier
parent 11d348ec4f
commit cf74166801
41 changed files with 93 additions and 75 deletions

View File

@@ -407,8 +407,8 @@ Navigator::run()
} else {
// If one of them is non-finite, reset both
rep->current.lat = NAN;
rep->current.lon = NAN;
rep->current.lat = (double)NAN;
rep->current.lon = (double)NAN;
}
rep->current.alt = cmd.param7;