#201 supervisor pocket diagnostics session
This commit is contained in:
@@ -121,6 +121,7 @@ function redstone.new(session_id, unit_id, advert, out_queue)
|
||||
---@nodiscard
|
||||
read = function () return rsio.digital_is_active(port, self.phy_io.digital_in[port].phy) end,
|
||||
---@param active boolean
|
||||
---@diagnostic disable-next-line: unused-local
|
||||
write = function (active) end
|
||||
}
|
||||
|
||||
@@ -155,6 +156,7 @@ function redstone.new(session_id, unit_id, advert, out_queue)
|
||||
---@return integer
|
||||
read = function () return self.phy_io.analog_in[port].phy end,
|
||||
---@param value integer
|
||||
---@diagnostic disable-next-line: unused-local
|
||||
write = function (value) end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user