mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Zero temperature_valid/temperature_update_ms in init(). Log_RFND() now only reports the externally-supplied temperature if it was updated within the last 5 seconds, falling back to a quiet NaN otherwise, so stale sensor data isn't logged indefinitely. Also fixes two remaining missing-trailing-newline issues in AP_TemperatureSensor_Backend.cpp and AP_TemperatureSensor_Params.cpp.