Fork of Semtech LoRaWAN stack

Fork of LoRaWAN-lib by canuck lehead

Branch:
v4.2.0
Revision:
17:fca344a6ff18
Parent:
16:1e01c8728daa
Child:
18:5ccaea55a881
diff -r 1e01c8728daa -r fca344a6ff18 LoRaMac.cpp
--- a/LoRaMac.cpp	Tue Sep 13 12:17:45 2016 +0000
+++ b/LoRaMac.cpp	Wed Sep 14 02:53:13 2016 +0000
@@ -15,7 +15,7 @@
 
 License: Revised BSD License, see LICENSE.TXT file include in the project
 
-Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jäckle ( STACKFORCE )
+Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jäckle ( STACKFORCE )
 */
 #include "board.h"
 
@@ -2767,6 +2767,8 @@
             ChannelsMask[5] = channelsMask[5];
 
             ChannelsNbRep = nbRep;
+
+            memcpy1( ( uint8_t* ) ChannelsMaskRemaining, ( uint8_t* ) ChannelsMask, 10 );
         }
 
         AddMacCommand( MOTE_MAC_LINK_ADR_ANS, linkAdrStatus, 0 );