oprava funkce readSensors

This commit is contained in:
2024-10-29 03:27:25 +01:00
parent 404b7336a6
commit 99965c8ea9

View File

@@ -176,7 +176,7 @@ void thermostatCheck() {
} }
void readSensors() { void readSensors() {
uint8_t ds18Count = sensor.getDeviceCount(); uint8_t ds18Count = sensor.getDS18Count();
float tempC[ds18Count]; float tempC[ds18Count];
float temperature[ds18Count]; float temperature[ds18Count];
DeviceAddress addr; DeviceAddress addr;