Skip to content

Commit

Permalink
Issue #1284 - Added missing return status initialization for Class A
Browse files Browse the repository at this point in the history
  • Loading branch information
mluis1 committed Jun 20, 2022
1 parent 71a9c67 commit 9218d00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1952,6 +1952,8 @@ static LoRaMacStatus_t SwitchClass( DeviceClass_t deviceClass )
{
// Revert back RxC parameters
Nvm.MacGroup2.MacParams.RxCChannel = Nvm.MacGroup2.MacParams.Rx2Channel;

status = LORAMAC_STATUS_OK;
}
if( deviceClass == CLASS_B )
{
Expand Down

0 comments on commit 9218d00

Please sign in to comment.