mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
Merge pull request #5073 from TD-er/bugfix/send_to_controller
[Controller] Fix sending to controller
This commit is contained in:
@@ -60,8 +60,8 @@ void sendData(struct EventStruct *event, bool sendEvents)
|
||||
Settings.TaskDeviceSendData[x][event->TaskIndex] &&
|
||||
Settings.Protocol[x])
|
||||
{
|
||||
const protocolIndex_t ProtocolIndex = getProtocolIndex_from_ControllerIndex(event->ControllerIndex);
|
||||
event->ControllerIndex = x;
|
||||
const protocolIndex_t ProtocolIndex = getProtocolIndex_from_ControllerIndex(event->ControllerIndex);
|
||||
event->idx = Settings.TaskDeviceID[x][event->TaskIndex];
|
||||
|
||||
if (validUserVar(event)) {
|
||||
|
||||
Reference in New Issue
Block a user