Skip to content

Commit 0102748

Browse files
authored
Merge pull request #899 from Xeenych/patch-1
Update LoRaMac.c
2 parents 01a8f82 + e04a088 commit 0102748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mac/LoRaMac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,8 +1125,8 @@ static void ProcessRadioRxDone( void )
11251125

11261126
// Filter messages according to multicast downlink exceptions
11271127
if( ( multicast == 1 ) && ( ( fType != FRAME_TYPE_D ) ||
1128-
( macMsgData.FHDR.FCtrl.Bits.Ack == true ) ||
1129-
( macMsgData.FHDR.FCtrl.Bits.AdrAckReq == true ) ) )
1128+
( macMsgData.FHDR.FCtrl.Bits.Ack != 0 ) ||
1129+
( macMsgData.FHDR.FCtrl.Bits.AdrAckReq != 0 ) ) )
11301130
{
11311131
MacCtx.McpsIndication.Status = LORAMAC_EVENT_INFO_STATUS_ERROR;
11321132
PrepareRxDoneAbort( );

0 commit comments

Comments
 (0)