Fix typo in function name
This commit is contained in:
parent
64ef26117f
commit
88baeee58e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue