From 530a40b0aad66087ea4b87a9dc4103ba2aadb726 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Mon, 16 May 2022 11:52:03 -0400 Subject: [PATCH] changed DISCONNECT constant value to -1 to not conflict with redstone values --- scada-common/rsio.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scada-common/rsio.lua b/scada-common/rsio.lua index 4acc3d7..5b9970a 100644 --- a/scada-common/rsio.lua +++ b/scada-common/rsio.lua @@ -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