Skip to content

Commit 0d7bd43

Browse files
Daniel Jaecklemluis1
authored andcommitted
Fixed RegionIN865RxParamSetupReq DrOffset verification
1 parent b9390d6 commit 0d7bd43

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mac/region/RegionIN865.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,7 @@ uint8_t RegionIN865RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq )
725725
}
726726

727727
// Verify datarate offset
728-
if( ( RegionCommonValueInRange( rxParamSetupReq->DrOffset, IN865_MIN_RX1_DR_OFFSET, IN865_MAX_RX1_DR_OFFSET ) == false ) ||
729-
// DR_6 is not supported by this region
730-
( rxParamSetupReq->DrOffset == DR_6 ) )
728+
if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, IN865_MIN_RX1_DR_OFFSET, IN865_MAX_RX1_DR_OFFSET ) == false )
731729
{
732730
status &= 0xFB; // Rx1DrOffset range KO
733731
}

0 commit comments

Comments
 (0)