mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-03 19:33:47 +01:00
Rename _lastPublish to _lastDisplayUpdate
This commit is contained in:
@@ -111,7 +111,7 @@ void DisplayGraphicClass::loop()
|
||||
return;
|
||||
}
|
||||
|
||||
if ((millis() - _lastPublish) > _period) {
|
||||
if ((millis() - _lastDisplayUpdate) > _period) {
|
||||
float totalPower = 0;
|
||||
float totalYieldDay = 0;
|
||||
float totalYieldTotal = 0;
|
||||
@@ -194,7 +194,7 @@ void DisplayGraphicClass::loop()
|
||||
_dispX = 0;
|
||||
_dispY = 0;
|
||||
_mExtra++;
|
||||
_lastPublish = millis();
|
||||
_lastDisplayUpdate = millis();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user