Fix MPU6050 temperature

Fix MPU6050 temperature (#8964)
This commit is contained in:
Theo Arends 2020-07-23 13:06:07 +02:00
parent cbfe019906
commit 85ccdda569
1 changed files with 1 additions and 1 deletions

View File

@ -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];