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:
parent
4834dbf781
commit
530a40b0aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user