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:
parent
82b18db12a
commit
799f26b7db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue