Skip to content

Commit 653ea43

Browse files
mluis1mvds00
authored andcommitted
Replaced MacCtx.NvmCtx->AckTimeoutRetry with MacCtx.AckTimeoutRetry
1 parent 4a7375b commit 653ea43

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
@@ -2540,7 +2540,7 @@ static void ResetMacParameters( void )
25402540
MacCtx.ChannelsNbTransCounter = 0;
25412541
MacCtx.AckTimeoutRetries = 1;
25422542
MacCtx.AckTimeoutRetriesCounter = 1;
2543-
MacCtx.NvmCtx->AckTimeoutRetry = false;
2543+
MacCtx.AckTimeoutRetry = false;
25442544

25452545
MacCtx.NvmCtx->MaxDCycle = 0;
25462546
MacCtx.NvmCtx->AggregatedDCycle = 1;
@@ -2963,7 +2963,7 @@ static bool StopRetransmission( void )
29632963

29642964
MacCtx.ChannelsNbTransCounter = 0;
29652965
MacCtx.NodeAckRequested = false;
2966-
MacCtx.NvmCtx->AckTimeoutRetry = false;
2966+
MacCtx.AckTimeoutRetry = false;
29672967
MacCtx.MacState &= ~LORAMAC_TX_RUNNING;
29682968

29692969
return true;

0 commit comments

Comments
 (0)