[LoRaWAN] Fix narrow type comparison
This commit is contained in:
parent
78a6897e1b
commit
8aedf53272
1 changed files with 1 additions and 1 deletions
|
@ -2800,7 +2800,7 @@ int16_t LoRaWANNode::setPhyProperties(const LoRaWANChannel_t* chnl, uint8_t dir,
|
|||
// in the LoRa Alliance Technical Recommendation #13.
|
||||
bool LoRaWANNode::csmaChannelClear(uint8_t difs, uint8_t numBackoff) {
|
||||
// DIFS phase: perform #DIFS CAD operations
|
||||
uint8_t numCads = 0;
|
||||
uint16_t numCads = 0;
|
||||
for (; numCads < difs; numCads++) {
|
||||
if (!this->cadChannelClear()) {
|
||||
return(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue