#199 fix attempt

This commit is contained in:
Luke Bonham 2016-05-31 10:55:15 +02:00
parent f67b9d8990
commit 84005d16a9
1 changed files with 13 additions and 13 deletions

View File

@ -49,7 +49,6 @@ local function worker(args)
bg = "#FFFFFF" bg = "#FFFFFF"
} }
function update()
bat_now = { bat_now = {
status = "Not present", status = "Not present",
ac_status = "N/A", ac_status = "N/A",
@ -63,6 +62,7 @@ local function worker(args)
bat_now.n_status[i] = "Not present" bat_now.n_status[i] = "Not present"
end end
function update()
local sum_rate_current = 0 local sum_rate_current = 0
local sum_rate_voltage = 0 local sum_rate_voltage = 0
local sum_rate_power = 0 local sum_rate_power = 0