File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1651,8 +1651,18 @@ unsigned long long MainWorker::PerformRealActionFromDomoticzClient(const unsigne
1651
1651
}
1652
1652
1653
1653
void MainWorker::DecodeRXMessage (const CDomoticzHardwareBase *pHardware, const unsigned char *pRXCommand) {
1654
- // Submit command without waiting for the command to be processed
1655
- PushRxMessage (pHardware, pRXCommand);
1654
+ if ((pHardware == NULL ) || (pRXCommand == NULL ))
1655
+ return ;
1656
+ if ((pHardware->HwdType == HTYPE_Domoticz) && (pHardware->m_HwdID == 8765 ))
1657
+ {
1658
+ // Directly process the command
1659
+ ProcessRXMessage (pHardware, pRXCommand);
1660
+ }
1661
+ else
1662
+ {
1663
+ // Submit command without waiting for the command to be processed
1664
+ PushRxMessage (pHardware, pRXCommand);
1665
+ }
1656
1666
}
1657
1667
1658
1668
void MainWorker::PushRxMessage (const CDomoticzHardwareBase *pHardware, const unsigned char *pRXCommand) {
You can’t perform that action at this time.
0 commit comments