mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
changed DISCONNECT constant value to -1 to not conflict with redstone values
This commit is contained in:
@ -12,7 +12,7 @@ local rsio = {}
|
|||||||
local IO_LVL = {
|
local IO_LVL = {
|
||||||
LOW = 0,
|
LOW = 0,
|
||||||
HIGH = 1,
|
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
|
---@alias IO_DIR integer
|
||||||
|
Reference in New Issue
Block a user