File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -842,7 +842,11 @@ static void ProcessRadioRxDone( void )
842842 MacCtx .McpsIndication .ResponseTimeout = 0 ;
843843
844844 Radio .Sleep ( );
845- TimerStop ( & MacCtx .RxWindowTimer2 );
845+
846+ if ( MacCtx .McpsIndication .RxSlot == RX_SLOT_WIN_1 )
847+ {
848+ TimerStop ( & MacCtx .RxWindowTimer2 );
849+ }
846850
847851 // This function must be called even if we are not in class b mode yet.
848852 if ( LoRaMacClassBRxBeacon ( payload , size ) == true )
@@ -1225,7 +1229,11 @@ static void ProcessRadioRxDone( void )
12251229 OnRetransmitTimeoutTimerEvent ( NULL );
12261230 }
12271231 }
1228- MacCtx .MacFlags .Bits .MacDone = 1 ;
1232+
1233+ if ( MacCtx .McpsIndication .RxSlot != RX_SLOT_WIN_CLASS_C )
1234+ {
1235+ MacCtx .MacFlags .Bits .MacDone = 1 ;
1236+ }
12291237
12301238 UpdateRxSlotIdleState ( );
12311239}
You can’t perform that action at this time.
0 commit comments