diff --git a/tasmota/xsns_32_mpu6050.ino b/tasmota/xsns_32_mpu6050.ino index 702d23224..c1f792ae7 100644 --- a/tasmota/xsns_32_mpu6050.ino +++ b/tasmota/xsns_32_mpu6050.ino @@ -181,7 +181,7 @@ void MPU_6050Show(bool json) { MPU_6050PerformReading(); - double tempConv = (MPU_6050_temperature / 340.0 + 35.53); + float tempConv = ConvertTemp(MPU_6050_temperature / 340.0 + 35.53); char temperature[33]; dtostrfd(tempConv, Settings.flag2.temperature_resolution, temperature); char axis_ax[33];