mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Fix missing startTimeMs reset in sensor temperature compensation
Co-authored-by: sensei-hacker <1971284+sensei-hacker@users.noreply.github.com>
This commit is contained in:
parent
472f3adb11
commit
7958265ee8
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ float applySensorTempCompensation(int16_t sensorTemp, float sensorMeasurement, s
|
|||
}
|
||||
#endif
|
||||
sensor_comp_data[sensorType].calibrationState = SENSOR_TEMP_CAL_COMPLETE;
|
||||
startTimeMs = 0;
|
||||
}
|
||||
|
||||
return 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue