remove debug prints

This commit is contained in:
Redo
2022-11-10 00:01:36 -06:00
parent 9c15a18853
commit 79dd1d7824
2 changed files with 2 additions and 3 deletions

View File

@@ -2,8 +2,6 @@
local function getBit(gate, val)
local gatedata = Gate.getdata(gate)
print("text brick bit "..val.." of "..textbrick2_bitsNeeded)
if gatedata.listenState=="wait" then
if val==1 then
gatedata.listenState = "getbits"
@@ -19,7 +17,6 @@ local function getBit(gate, val)
elseif gatedata.listenState=="terminate" then
if val==1 then
local v = gatedata.valReceived
print("text brick received "..v)
local iscolor = math.floor(v/512)==1 -- first bit
if iscolor then
local printdomain = (math.floor(v/128)%2)==1 and "terminal" or "terminalInv" -- 8th lowest bit