add grade period for temp sensors

This commit is contained in:
2024-12-13 17:25:58 +01:00
parent 6e6d2965f7
commit a7f6973efd
3 changed files with 24 additions and 17 deletions

View File

@ -179,7 +179,7 @@ void taskInput(void *pvParameters)
for (int j = 0; j < sSensorCount; j++)
{
float temp_c = fDS18B20Temps[j];
ESP_LOGI(TAG, "Sensor: %08" PRIx64 " reports %.3f°C", (uint64_t)uOneWireAddresses[j], temp_c);
ESP_LOGI(TAG, "Sensor: %08" PRIx64 " reports %lf°C", (uint64_t)uOneWireAddresses[j], temp_c);
if (xSemaphoreTake(xMutexAccessInputs, portMAX_DELAY) == pdTRUE)
{
switch ((uint64_t)uOneWireAddresses[j])