Skip to content

Commit

Permalink
Fix 1-hour average not displaying anything
Browse files Browse the repository at this point in the history
  • Loading branch information
S4mpsa committed Dec 12, 2023
1 parent aa33c33 commit f93e6be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hud/powerdisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function powerDisplay.widget(glasses, data)
end

tick = tick + 1
if tick > 72000 then tick = 0 end
if tick > 72100 then tick = 0 end
--Update I/O
if energyData.intervalCounter == 1 then
energyData.startTime = computer.uptime()
Expand Down
2 changes: 1 addition & 1 deletion nidas_version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.53"
return "1.54"

0 comments on commit f93e6be

Please sign in to comment.