Skip to content

Commit 83cd9da

Browse files
committed
Issue #1059 - Changed the place of call to TimerStop( &RxTimeoutTimer ) on RadioIrqProcess implementation
1 parent 3c6c24b commit 83cd9da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/radio/sx126x/radio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,8 @@ void RadioIrqProcess( void )
12351235

12361236
if( ( irqRegs & IRQ_RX_DONE ) == IRQ_RX_DONE )
12371237
{
1238+
TimerStop( &RxTimeoutTimer );
1239+
12381240
if( ( irqRegs & IRQ_CRC_ERROR ) == IRQ_CRC_ERROR )
12391241
{
12401242
if( RxContinuous == false )
@@ -1251,7 +1253,6 @@ void RadioIrqProcess( void )
12511253
{
12521254
uint8_t size;
12531255

1254-
TimerStop( &RxTimeoutTimer );
12551256
if( RxContinuous == false )
12561257
{
12571258
//!< Update operating mode state to a value lower than \ref MODE_STDBY_XOSC

0 commit comments

Comments
 (0)