mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
@@ -89,6 +89,7 @@ UnitempStatus unitemp_HTU21x_update(Sensor* sensor) {
|
||||
sensor->hum = ((0.001907 * (raw ^ 0x02)) - 6);
|
||||
}
|
||||
temp_hum = !temp_hum;
|
||||
if(temp_hum) return UT_SENSORSTATUS_EARLYPOOL;
|
||||
return UT_SENSORSTATUS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user