comment and formatting fixes

This commit is contained in:
Mikayla
2025-10-17 20:59:36 +00:00
parent 859e04712f
commit 2aa5c93404
3 changed files with 4 additions and 4 deletions

View File

@@ -212,7 +212,7 @@ function threads.thread__main(smem, init)
---@cast device Modem
local is_comms_modem = util.trinary(plc_dev.modem_wired, plc_dev.modem_iface == param1, device.isWireless())
-- note, check init_ok since nic will be nil if it is false
-- note, check init_ok first since nic will be nil if it is false
if is_comms_modem and not (plc_state.init_ok and nic.is_connected()) then
-- reconnected modem
plc_dev.modem = device