Skip to content

Commit 1f0448b

Browse files
committed
Use MacCtx.McpsIndication.RxSlot as verification for RxSlot after a valid reception. MacCtx.RxSlot is not valid, as it will be reset at the end of a frame reception.
1 parent 3a55fda commit 1f0448b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mac/LoRaMac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2917,7 +2917,7 @@ static bool CheckRetransUnconfirmedUplink( void )
29172917
}
29182918
else
29192919
{// For Class B & C stop only if the frame was received in RX1 window
2920-
if( MacCtx.RxSlot == RX_SLOT_WIN_1 )
2920+
if( MacCtx.McpsIndication.RxSlot == RX_SLOT_WIN_1 )
29212921
{
29222922
return true;
29232923
}

0 commit comments

Comments
 (0)