aboutsummaryrefslogtreecommitdiff
path: root/apps/systemlib/airspeed.c
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2013-04-13 08:47:12 +0200
committerSimon Wilks <sjwilks@gmail.com>2013-04-13 08:47:12 +0200
commit42f4a9e8800c4d5d2823b4f477c556547fe0d3d0 (patch)
tree39d32a4b3b4acd64e4361c96dcaab8efccb53eed /apps/systemlib/airspeed.c
parentc8ac1d0b0a97f5fc926a48e64e0e116387453dcd (diff)
downloadpx4-firmware-42f4a9e8800c4d5d2823b4f477c556547fe0d3d0.tar.gz
px4-firmware-42f4a9e8800c4d5d2823b4f477c556547fe0d3d0.tar.bz2
px4-firmware-42f4a9e8800c4d5d2823b4f477c556547fe0d3d0.zip
Switch to differential pressure topic
Diffstat (limited to 'apps/systemlib/airspeed.c')
-rw-r--r--apps/systemlib/airspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/systemlib/airspeed.c b/apps/systemlib/airspeed.c
index 264287b10..15bb833a9 100644
--- a/apps/systemlib/airspeed.c
+++ b/apps/systemlib/airspeed.c
@@ -97,7 +97,7 @@ float calc_true_airspeed(float total_pressure, float static_pressure, float temp
float density = get_air_density(static_pressure, temperature_celsius);
if (density < 0.0001f || !isfinite(density)) {
density = CONSTANTS_AIR_DENSITY_SEA_LEVEL_15C;
- printf("[airspeed] Invalid air density, using density at sea level\n");
+// printf("[airspeed] Invalid air density, using density at sea level\n");
}
float pressure_difference = total_pressure - static_pressure;