Skip to content

Commit 43fedd5

Browse files
committed
Clean up comments a little
1 parent 30ed001 commit 43fedd5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/lmic/lmic_as923.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,10 @@ ostime_t LMICas923_nextTx(ostime_t now) {
411411
if ((LMIC.channelDrMap[chnl] & (1 << (LMIC.datarate & 0xF))) == 0)
412412
continue;
413413

414-
// not available yet?
414+
// This channel is feasible. But might not be available.
415415
feasibleMap |= chnlBit;
416416

417+
// not available yet?
417418
u1_t const band = LMIC.channelFreq[chnl] & 0x3;
418419
if ((s4_t)(LMIC.bands[band].avail - mintime) > 0)
419420
continue;

src/lmic/lmic_eu868.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,17 +293,18 @@ ostime_t LMICeu868_nextTx(ostime_t now) {
293293
if (LMIC.channelMap < chnlBit)
294294
break;
295295

296-
// not enabled?
296+
// not enabled?
297297
if ((LMIC.channelMap & chnlBit) == 0)
298298
continue;
299299

300300
// not feasible?
301301
if ((LMIC.channelDrMap[chnl] & (1 << (LMIC.datarate & 0xF))) == 0)
302302
continue;
303303

304-
// not available yet?
304+
// This channel is feasible. But might not be available.
305305
feasibleMap |= chnlBit;
306306

307+
// not available yet?
307308
u1_t const band = LMIC.channelFreq[chnl] & 0x3;
308309
if ((s4_t)(LMIC.bands[band].avail - mintime) > 0)
309310
continue;

0 commit comments

Comments
 (0)