1
0
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:
kepler155c@gmail.com
2019-04-18 11:13:28 -04:00
parent e6d1e58ce2
commit 54660c6089
3 changed files with 3 additions and 2 deletions

View File

@@ -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)