Skip to content

Commit 9218d00

Browse files
committed
Issue #1284 - Added missing return status initialization for Class A
1 parent 71a9c67 commit 9218d00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mac/LoRaMac.c

+2
Original file line numberDiff line numberDiff line change
@@ -1952,6 +1952,8 @@ static LoRaMacStatus_t SwitchClass( DeviceClass_t deviceClass )
19521952
{
19531953
// Revert back RxC parameters
19541954
Nvm.MacGroup2.MacParams.RxCChannel = Nvm.MacGroup2.MacParams.Rx2Channel;
1955+
1956+
status = LORAMAC_STATUS_OK;
19551957
}
19561958
if( deviceClass == CLASS_B )
19571959
{

0 commit comments

Comments
 (0)