File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ ostime_t LMICas923_nextTx(ostime_t now) {
448
448
#if !defined(DISABLE_BEACONS )
449
449
void LMICas923_setBcnRxParams (void ) {
450
450
LMIC .dataLen = 0 ;
451
- LMIC .freq = LMIC . channelFreq [ LMIC . bcnChnl ] & ~( u4_t ) 3 ;
451
+ LMIC .freq = AS923_FBCN ;
452
452
LMIC .rps = setIh (setNocrc (dndr2rps ((dr_t )DR_BCN ), 1 ), LEN_BCN );
453
453
}
454
454
#endif // !DISABLE_BEACONS
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ ostime_t LMICeu868_nextTx(ostime_t now) {
334
334
#if !defined(DISABLE_BEACONS )
335
335
void LMICeu868_setBcnRxParams (void ) {
336
336
LMIC .dataLen = 0 ;
337
- LMIC .freq = LMIC . channelFreq [ LMIC . bcnChnl ] & ~( u4_t ) 3 ;
337
+ LMIC .freq = FREQ_BCN ;
338
338
LMIC .rps = setIh (setNocrc (dndr2rps ((dr_t )DR_BCN ), 1 ), LEN_BCN );
339
339
}
340
340
#endif // !DISABLE_BEACONS
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ ostime_t LMICin866_nextTx(ostime_t now) {
235
235
#if !defined(DISABLE_BEACONS )
236
236
void LMICin866_setBcnRxParams (void ) {
237
237
LMIC .dataLen = 0 ;
238
- LMIC .freq = LMIC . channelFreq [ LMIC . bcnChnl ] & ~( u4_t ) 3 ;
238
+ LMIC .freq = IN866_FB ;
239
239
LMIC .rps = setIh (setNocrc (dndr2rps ((dr_t )DR_BCN ), 1 ), LEN_BCN );
240
240
}
241
241
#endif // !DISABLE_BEACONS
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ ostime_t LMICkr920_nextTx(ostime_t now) {
247
247
#if !defined(DISABLE_BEACONS )
248
248
void LMICkr920_setBcnRxParams (void ) {
249
249
LMIC .dataLen = 0 ;
250
- LMIC .freq = LMIC . channelFreq [ LMIC . bcnChnl ] & ~( u4_t ) 3 ;
250
+ LMIC .freq = KR920_FBCN ;
251
251
LMIC .rps = setIh (setNocrc (dndr2rps ((dr_t )DR_BCN ), 1 ), LEN_BCN );
252
252
}
253
253
#endif // !DISABLE_BEACONS
You can’t perform that action at this time.
0 commit comments