From 43fedd56cf3db016e6aee6a8ef886fc636a38871 Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Sat, 8 May 2021 13:09:30 -0400 Subject: [PATCH] Clean up comments a little --- src/lmic/lmic_as923.c | 3 ++- src/lmic/lmic_eu868.c | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lmic/lmic_as923.c b/src/lmic/lmic_as923.c index 5da6a165..5366d717 100644 --- a/src/lmic/lmic_as923.c +++ b/src/lmic/lmic_as923.c @@ -411,9 +411,10 @@ ostime_t LMICas923_nextTx(ostime_t now) { if ((LMIC.channelDrMap[chnl] & (1 << (LMIC.datarate & 0xF))) == 0) continue; - // not available yet? + // This channel is feasible. But might not be available. feasibleMap |= chnlBit; + // not available yet? u1_t const band = LMIC.channelFreq[chnl] & 0x3; if ((s4_t)(LMIC.bands[band].avail - mintime) > 0) continue; diff --git a/src/lmic/lmic_eu868.c b/src/lmic/lmic_eu868.c index 7d780127..c8653cba 100644 --- a/src/lmic/lmic_eu868.c +++ b/src/lmic/lmic_eu868.c @@ -293,7 +293,7 @@ ostime_t LMICeu868_nextTx(ostime_t now) { if (LMIC.channelMap < chnlBit) break; - // not enabled? + // not enabled? if ((LMIC.channelMap & chnlBit) == 0) continue; @@ -301,9 +301,10 @@ ostime_t LMICeu868_nextTx(ostime_t now) { if ((LMIC.channelDrMap[chnl] & (1 << (LMIC.datarate & 0xF))) == 0) continue; - // not available yet? + // This channel is feasible. But might not be available. feasibleMap |= chnlBit; + // not available yet? u1_t const band = LMIC.channelFreq[chnl] & 0x3; if ((s4_t)(LMIC.bands[band].avail - mintime) > 0) continue;