Skip to content

Commit

Permalink
example of phase_poll nil error
Browse files Browse the repository at this point in the history
  • Loading branch information
lazzarello committed May 26, 2019
1 parent b434ff2 commit 483a3ce
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions gemini.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,19 @@ function init()

counter = metro.init(count, 0.01, -1)
counter:start()

re = metro.init()
re.time = 0.03
re.event = function()
arc_redraw()
end
re:start()
end

function count()
redraw()
end


local function reset_voice()
engine.seek(0)
end
Expand Down Expand Up @@ -285,11 +291,4 @@ arc_redraw = function()
a:segment(4, 0, 6.28, 3)

a:refresh()
end

re = metro.init()
re.time = 0.03
re.event = function()
arc_redraw()
end
re:start()
end

0 comments on commit 483a3ce

Please sign in to comment.