drivers: Fix compile warnings and non-standard performance counter names

This commit is contained in:
Lorenz Meier
2014-05-21 14:20:48 +02:00
parent fb801b6fae
commit aa312f96f8
5 changed files with 6 additions and 10 deletions
+2 -2
View File
@@ -753,8 +753,8 @@ MS5611::print_info()
printf("TEMP: %d\n", _TEMP);
printf("SENS: %lld\n", _SENS);
printf("OFF: %lld\n", _OFF);
printf("P: %.3f\n", _P);
printf("T: %.3f\n", _T);
printf("P: %.3f\n", (double)_P);
printf("T: %.3f\n", (double)_T);
printf("MSL pressure: %10.4f\n", (double)(_msl_pressure / 100.f));
printf("factory_setup %u\n", _prom.factory_setup);