diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-25 22:57:18 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-25 22:57:18 -0700 |
commit | cb8e32f8332957a6b0e9d46feb0f9b3589ccddae (patch) | |
tree | 45d8dafbb53caf5601675693219c6997307c0a83 /src/drivers/mpu6000/mpu6000.cpp | |
parent | 89d5ae69d3f898324d8059e7ba97467dfffb17c9 (diff) | |
download | px4-firmware-cb8e32f8332957a6b0e9d46feb0f9b3589ccddae.tar.gz px4-firmware-cb8e32f8332957a6b0e9d46feb0f9b3589ccddae.tar.bz2 px4-firmware-cb8e32f8332957a6b0e9d46feb0f9b3589ccddae.zip |
MPU6K: Temp support
Diffstat (limited to 'src/drivers/mpu6000/mpu6000.cpp')
-rw-r--r-- | src/drivers/mpu6000/mpu6000.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index 4461dc10b..b6642e2bb 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -1778,7 +1778,7 @@ MPU6000::print_info() (unsigned)_checked_values[i]); } } - ::printf("temperature: %.1f\n", _last_temperature); + ::printf("temperature: %.1f\n", (double)_last_temperature); } void |