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

@@ -86,9 +86,9 @@ function network.nic(modem)
-- used to quickly return out of tx/rx functions if there is nothing to do
connected = true,
-- used to avoid costly MAC calculations if not required
use_hash = c_eng.hmac and modem.isWireless(),
use_hash = c_eng.hmac and modem.isWireless(),
-- open channels
channels = {}
channels = {}
}
---@class nic:Modem

View File

@@ -447,7 +447,7 @@ end
---@return table|nil reactor function table
function ppm.get_fission_reactor() return ppm.get_device("fissionReactorLogicAdapter") end
-- get the named wired modem
-- get a wired modem by name
---@nodiscard
---@param iface string CC peripheral interface
---@return Modem|nil modem function table