comment and formatting fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user