#401 pocket handling of computer data

This commit is contained in:
Mikayla
2025-08-01 21:41:40 +00:00
parent 4fb39213f2
commit 0bfe767710
4 changed files with 57 additions and 3 deletions

View File

@@ -35,8 +35,8 @@ iocontrol.LINK_STATE = LINK_STATE
---@class pocket_ioctl
local io = {
version = "unknown",
ps = psil.create()
version = "unknown", -- pocket version
ps = psil.create() -- pocket PSIL
}
local config = nil ---@type pkt_config
@@ -91,6 +91,9 @@ function iocontrol.init_core(pkt_comms, nav, cfg)
tone_indicators = {} ---@type IndicatorLight[] indicators to update from supervisor tone states
}
-- computer list
io.diag.get_comps = function () comms.diag__get_computers() end
-- API access
---@class pocket_ioctl_api
io.api = {