diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 22:00:50 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 22:00:50 +0200 |
commit | 67d23253c3b3ec04bfd9d5f7e09d3d405ceba7c6 (patch) | |
tree | b2cde7d7b4e984288d2025218298b52167512de4 /src | |
parent | 7bf0e6f3e26ee9e10073293677563f6862758557 (diff) | |
download | px4-firmware-67d23253c3b3ec04bfd9d5f7e09d3d405ceba7c6.tar.gz px4-firmware-67d23253c3b3ec04bfd9d5f7e09d3d405ceba7c6.tar.bz2 px4-firmware-67d23253c3b3ec04bfd9d5f7e09d3d405ceba7c6.zip |
airspeed cal build fix
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/commander/airspeed_calibration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/airspeed_calibration.cpp b/src/modules/commander/airspeed_calibration.cpp index a1b8816ff..529a5b32f 100644 --- a/src/modules/commander/airspeed_calibration.cpp +++ b/src/modules/commander/airspeed_calibration.cpp @@ -200,7 +200,7 @@ int do_airspeed_calibration(int mavlink_fd) float curr_avg = (diff_pres_offset / calibration_counter); if (calc_indicated_airspeed(fabsf(curr_avg)) < 10.0f) { - mavlink_log_critical(mavlink_fd, "Put a finger on front hole of pitot (%.1f m/s)", curr_avg); + mavlink_log_critical(mavlink_fd, "Put a finger on front hole of pitot (%.1f m/s)", (double)curr_avg); usleep(5000 * 1000); continue; } |