init: Default to 2s timer
This commit is contained in:
parent
bc3cf45da0
commit
68b30a3cc7
4
init.lua
4
init.lua
|
@ -102,9 +102,9 @@ function register(widget, wtype, format, timer, warg)
|
||||||
update(widget, reg)
|
update(widget, reg)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Default to 1s timer
|
-- Default to 2s timer
|
||||||
if reg.timer == nil then
|
if reg.timer == nil then
|
||||||
reg.timer = 1
|
reg.timer = 2
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Register a reg object
|
-- Register a reg object
|
||||||
|
|
Loading…
Reference in New Issue