updated
This commit is contained in:
6
main.lua
6
main.lua
@@ -70,7 +70,11 @@ local function run()
|
|||||||
print("Waiting for all drivers to be initialized...")
|
print("Waiting for all drivers to be initialized...")
|
||||||
sleep(1)
|
sleep(1)
|
||||||
end
|
end
|
||||||
reactor.activate()
|
local status = reactor.getStatus()
|
||||||
|
if(not status) then
|
||||||
|
reactor.activate()
|
||||||
|
return
|
||||||
|
end
|
||||||
parallel.waitForAll(runMonitors, runDisplay)
|
parallel.waitForAll(runMonitors, runDisplay)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user