mirror of
https://github.com/kepler155c/opus
synced 2025-04-10 09:36:39 +00:00
transition to kernel
This commit is contained in:
parent
438e35688b
commit
e6ed08315e
@ -28,6 +28,7 @@ Event.on('device_detach', function()
|
||||
end
|
||||
end)
|
||||
|
||||
os.queueEvent('network_up')
|
||||
Event.pullEvents()
|
||||
|
||||
for _,c in pairs(network) do
|
||||
|
@ -1,4 +1,5 @@
|
||||
local kernel = _G.kernel
|
||||
local os = _G.os
|
||||
|
||||
_G.network = { }
|
||||
|
||||
@ -18,5 +19,6 @@ end)
|
||||
|
||||
if _G.device.wireless_modem then
|
||||
startNetwork()
|
||||
os.pullEvent('network_up')
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user