Fix typo in function name

This commit is contained in:
gilex-dev 2024-06-25 13:09:48 +02:00
parent 64ef26117f
commit 88baeee58e
Signed by: gilex-dev
GPG Key ID: FBACA726925AFBEB
1 changed files with 4 additions and 3 deletions

View File

@ -300,7 +300,8 @@ void timer() {
}
}
}
void getCurrentTemperatur() {
void getCurrentTemperature() {
if (millis() - lastTempCycle > 5000) {
sensors.requestTemperatures();
temperature = int(sensors.getTempCByIndex(0)) != -127
@ -376,14 +377,14 @@ void setup() {
BUILD_VERSION + BUILD_DEBUG ? "-debug" : "");
});
getCurrentTemperatur();
getCurrentTemperature();
server.begin();
debugln(F("Webserver started"));
}
void loop() {
server.handleClient();
getCurrentTemperatur();
getCurrentTemperature();
timer();
yield();
delay(50);