This commit is contained in:
hamza
2024-07-07 01:57:00 +03:00
parent dfad2fee02
commit 879464e587
3 changed files with 43 additions and 22 deletions

View File

@ -40,6 +40,7 @@ HAL_StatusTypeDef tmp1075_measure() {
err = 1;
} else {
tmp1075_temps[i] >>= 4;
//tmp1075_temps[i] = tmp1075_temps[i] * 100/1600;
tmp1075_failed_sensors &= ~(1 << i);
if (tmp1075_temps[i] >= MAX_TEMP) {
temp_error = 1;