Update UniTemp

https://github.com/quen0n/unitemp-flipperzero/tree/dev
This commit is contained in:
MX
2023-01-18 19:51:10 +03:00
parent 62b287aac7
commit 7a211e0018
34 changed files with 53 additions and 37 deletions

View File

@@ -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;
}