remove debug prints
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user