testing
This commit is contained in:
parent
24a187828b
commit
02924eb7bf
@ -18,7 +18,6 @@ function dump(o)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function recv()
|
function recv()
|
||||||
local master = rednet.lookup("rmm", "master")
|
|
||||||
while true do
|
while true do
|
||||||
local event, id, data = os.pullEvent()
|
local event, id, data = os.pullEvent()
|
||||||
if event == "rednet_message" then
|
if event == "rednet_message" then
|
||||||
@ -89,6 +88,7 @@ end
|
|||||||
|
|
||||||
rednet.open(modemSide)
|
rednet.open(modemSide)
|
||||||
rednet.host("rmm", hostname)
|
rednet.host("rmm", hostname)
|
||||||
|
master = rednet.lookup("rmm", "master")
|
||||||
|
|
||||||
parallel.waitForAny(recv, lever_input)
|
parallel.waitForAny(recv, lever_input)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user