From 799f26b7db3aecc150f91beb3e8925523d6054b9 Mon Sep 17 00:00:00 2001 From: SystemsPurge Date: Tue, 8 Oct 2024 17:13:19 +0200 Subject: [PATCH] Naive fix for input signals --- src/store/websocketSlice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/websocketSlice.js b/src/store/websocketSlice.js index 240ddcb..d5202f0 100644 --- a/src/store/websocketSlice.js +++ b/src/store/websocketSlice.js @@ -163,7 +163,7 @@ const websocketSlice = createSlice({ inputAction.sequence++; inputAction.values[signalIndex] = data; inputAction.length = inputAction.values.length; - inputAction.source_index = signalID; + inputAction.source_index = signalIndex; // The previous line sets the source_index field of the message to the ID of the signal // so that upon loopback through VILLASrelay the value can be mapped to correct signal