Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/P123-add-support-for-more-touchscreen-types

This commit is contained in:
Ton Huisman
2024-06-20 21:21:35 +02:00
+1 -1
View File
@@ -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)) {