Merge branch 'mega' into feature/P047-add-befle-v3-sensor

This commit is contained in:
Ton Huisman
2024-06-29 14:34:15 +02:00
committed by GitHub
+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)) {