Skip to content

Commit

Permalink
Merge pull request #196 from letscontrolit/mega
Browse files Browse the repository at this point in the history
[pull] mega from letscontrolit:mega
  • Loading branch information
Micha-he authored Jun 19, 2024
2 parents a83200f + 8fb409c commit 698d3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/ESPEasyCore/Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 698d3ed

Please sign in to comment.