AP_TemperatureSensor: specify units (degC) in comment for get_temperature

This commit is contained in:
Peter Barker 2024-09-19 22:33:15 +10:00 committed by Tom Pittenger
parent 7d907e9798
commit fb5c337328

View File

@ -58,6 +58,7 @@ public:
// Update the temperature for all temperature sensors
void update();
// return temperature from sensor - in degrees Celsius
bool get_temperature(float &temp, const uint8_t instance = AP_TEMPERATURE_SENSOR_PRIMARY_INSTANCE) const;
bool healthy(const uint8_t instance = AP_TEMPERATURE_SENSOR_PRIMARY_INSTANCE) const;