mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
small printf change
This commit is contained in:
parent
de77cba538
commit
8e3b09bd50
@ -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("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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user