changed DISCONNECT constant value to -1 to not conflict with redstone values

This commit is contained in:
Mikayla Fischler 2022-05-16 11:52:03 -04:00
parent 4834dbf781
commit 530a40b0aa

View File

@ -12,7 +12,7 @@ local rsio = {}
local IO_LVL = {
LOW = 0,
HIGH = 1,
DISCONNECT = 2 -- use for RTU session to indicate this RTU is not connected to this channel
DISCONNECT = -1 -- use for RTU session to indicate this RTU is not connected to this channel
}
---@alias IO_DIR integer