MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / get_temperature

Method get_temperature

src/custom_sensor/BARO_Sensor.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void BARO_Sensor::get_temperature(float &value) {
84 if (!available) {
85 value = 0.0;
86 return;
87 }
88 value = Baro->readTemperature();
89}

Callers

nothing calls this directly

Calls 1

readTemperatureMethod · 0.80

Tested by

no test coverage detected