mirror of
https://github.com/kepler155c/opus
synced 2025-10-24 12:17:40 +00:00
api change for modems
This commit is contained in:
@@ -2,7 +2,7 @@ local device = _G.device
|
||||
local kernel = _G.kernel
|
||||
|
||||
local function register(v)
|
||||
if v and v.isWireless and v.getMetadata and v.getNamesRemote then
|
||||
if v and v.isWireless and v.isAccessPoint and v.getNamesRemote then
|
||||
v.children = { }
|
||||
for _, name in pairs(v.getNamesRemote()) do
|
||||
local dev = v.getMethodsRemote(name)
|
||||
|
||||
Reference in New Issue
Block a user