modified DEVEUI Generator & added Lmic PR #197
This commit is contained in:
1 parent
8125662753
commit
a3f35a6eca
2 files changed
+2
-4
No files matched your search
@@ -907,7 +907,7 @@ static ostime_t nextJoinState (void) {
|
||||
} else {
|
||||
LMIC.txChnl = os_getRndU1() & 0x3F;
|
||||
s1_t dr = DR_SF7 - ++LMIC.txCnt;
|
||||
if( dr < DR_SF10 ) {
|
||||
if( LMIC.txCnt > DR_SF7 ) {
|
||||
dr = DR_SF10;
|
||||
failed = 1; // All DR exhausted - signal failed
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user