AP_InertialSensor: fixed build warnings

This commit is contained in:
Andrew Tridgell 2015-05-30 22:51:19 +10:00
parent ac3fc2f373
commit 6a2c585632

View File

@ -443,8 +443,8 @@ bool AP_InertialSensor::_calculate_trim(const Vector3f &accel_sample, float& tri
return false; return false;
} }
hal.console->printf_P(PSTR("Trim OK: roll=%.2f pitch=%.2f\n"), hal.console->printf_P(PSTR("Trim OK: roll=%.2f pitch=%.2f\n"),
degrees(trim_roll), (double)degrees(trim_roll),
degrees(trim_pitch)); (double)degrees(trim_pitch));
return true; return true;
} }