Fork of Semtech LoRaWAN stack
Fork of LoRaWAN-lib by
Diff: LoRaMac.cpp
- Branch:
- v4.2.0
- Revision:
- 19:838d3e8dffc6
- Parent:
- 18:5ccaea55a881
- Child:
- 20:92764fda7371
--- a/LoRaMac.cpp Thu Sep 15 15:39:41 2016 -0400 +++ b/LoRaMac.cpp Thu Sep 15 19:47:38 2016 +0000 @@ -2502,7 +2502,7 @@ if( ( ( chMask & ( 1 << i ) ) != 0 ) && ( Channels[i].Frequency == 0 ) ) {// Trying to enable an undefined channel - linkAdrStatus &= 0xFE; // Channel mask KO + status &= 0xFE; // Channel mask KO } } } @@ -2539,7 +2539,6 @@ // channel mask applied to 500 kHz channels channelsMask[4] = chMask; - chMaskCntl = 4; } else {