#528 reactor PLC configurator fixes

This commit is contained in:
Mikayla Fischler
2024-07-26 23:06:42 -04:00
parent ec107929bc
commit 8e4bb583a8
3 changed files with 11 additions and 4 deletions

View File

@@ -124,6 +124,13 @@ local function self_check(sc_log)
if valid_cfg and modem then
self.self_check_msg("> check supervisor connection...")
-- init mac as needed
if self.settings.AuthKey and string.len(self.settings.AuthKey) >= 8 then
network.init_mac(self.settings.AuthKey)
else
network.deinit_mac()
end
self.nic = network.nic(modem)
self.nic.closeAll()