Compile fixes

This commit is contained in:
Lorenz Meier
2014-04-26 16:16:44 +02:00
parent 0d50b3ea86
commit 2d978beefb
2 changed files with 3 additions and 4 deletions
@@ -2307,7 +2307,7 @@ bool AttPosEKF::StatesNaN(struct ekf_status_report *err_report) {
if (!isfinite(states[i])) {
err_report->statesNaN = true;
ekf_debug("states NaN: i: %u val: %f", i, states[i]);
ekf_debug("states NaN: i: %u val: %f", i, (double)states[i]);
err = true;
goto out;
} // state matrix