Skip to content

Commit 0efaee1

Browse files
committed
Document a few more must-be-zeroed things in LMIC_reset
1 parent 52e3e60 commit 0efaee1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lmic/lmic.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,6 +2791,11 @@ void LMIC_reset (void) {
27912791
LMIC.adrEnabled = FCT_ADREN;
27922792
resetJoinParams();
27932793
LMIC.rxDelay = DELAY_DNW1;
2794+
// LMIC.pendMacLen = 0;
2795+
// LMIC.pendMacPiggyback = 0;
2796+
// LMIC.dn2Ans = 0;
2797+
// LMIC.macDlChannelAns = 0;
2798+
// LMIC.macRxTimingSetupAns = 0;
27942799
#if !defined(DISABLE_PING)
27952800
LMIC.ping.freq = FREQ_PING; // defaults for ping
27962801
LMIC.ping.dr = DR_PING; // ditto

0 commit comments

Comments
 (0)