1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Naive fix for input signals

This commit is contained in:
SystemsPurge 2024-10-08 17:13:19 +02:00
parent 82b18db12a
commit 799f26b7db

View file

@ -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