Skip to content

Commit

Permalink
outputting 0 instead of whatever is input.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Thomas committed Aug 13, 2015
1 parent 2e98f53 commit 76cd06f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ local function onTick(event)
if c~=params[i].count then
params[i].count=c
end
elseif params[i].count~=0 then
params[i].count=0
end
end
lc.comb.set_circuit_condition(1,{parameters=params})
Expand Down

0 comments on commit 76cd06f

Please sign in to comment.