AP_TemperatureSensor: new MLX90614 sensor backend driver conversion fix

This commit is contained in:
Rahul 2024-09-19 15:52:34 +05:30 committed by Peter Barker
parent 4eba87d040
commit 7d907e9798
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void AP_TemperatureSensor_MLX90614::_timer()
WITH_SEMAPHORE(_dev->get_semaphore());
// temp * 0.02 - 273.15 = degrees, temp * 0.02 is temperature in kelvin
const float tmp = KELVIN_TO_C(_crude_value) * 0.02;
const float tmp = KELVIN_TO_C(_crude_value * 0.02);
set_temperature(tmp);
}