Browse Source

fix: 使用netLed提示找不到sys库

Signed-off-by: fantasy <8637583+fantasygm@user.noreply.gitee.com>
fantasy 2 years ago
parent
commit
62561306dd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      script/libs/netLed.lua

+ 2 - 0
script/libs/netLed.lua

@@ -24,6 +24,8 @@ end)
 ]]
  
 netLed = {}
+-- 引用sys库
+local sys = require("sys")
 
 
 local simError        --SIM卡状态:true为异常,false或者nil为正常