This commit is contained in:
navid.sassan 2021-04-02 16:01:31 +02:00
parent 24a187828b
commit 02924eb7bf

View File

@ -18,7 +18,6 @@ function dump(o)
end
function recv()
local master = rednet.lookup("rmm", "master")
while true do
local event, id, data = os.pullEvent()
if event == "rednet_message" then
@ -89,6 +88,7 @@ end
rednet.open(modemSide)
rednet.host("rmm", hostname)
master = rednet.lookup("rmm", "master")
parallel.waitForAny(recv, lever_input)