run astyle

This commit is contained in:
Mark Whitehorn 2016-02-06 07:27:45 -07:00 committed by Lorenz Meier
parent cca2807ff0
commit 42e8fe159f

View File

@ -251,10 +251,12 @@ static int frsky_telemetry_thread_main(int argc, char *argv[])
orb_copy(ORB_ID(sensor_combined), sensor_sub, &raw);
static float filtered_alt = NAN;
if (isnan(filtered_alt)) {
filtered_alt = raw.baro_alt_meter[0];
} else {
filtered_alt = .05f * raw.baro_alt_meter[0] + (1.0f -.05f) * filtered_alt;
filtered_alt = .05f * raw.baro_alt_meter[0] + (1.0f - .05f) * filtered_alt;
}
// allow a minimum of 500usec before reply