Skip to content

Commit 184039f

Browse files
committed
Fixed RegionIN865RxParamSetupReq DrOffset verification
1 parent 7ea85ff commit 184039f

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
@@ -730,9 +730,7 @@ uint8_t RegionIN865RxParamSetupReq( RxParamSetupReqParams_t* rxParamSetupReq )
730730
}
731731

732732
// Verify datarate offset
733-
if( ( RegionCommonValueInRange( rxParamSetupReq->DrOffset, IN865_MIN_RX1_DR_OFFSET, IN865_MAX_RX1_DR_OFFSET ) == false ) ||
734-
// DR_6 is not supported by this region
735-
( rxParamSetupReq->DrOffset == DR_6 ) )
733+
if( RegionCommonValueInRange( rxParamSetupReq->DrOffset, IN865_MIN_RX1_DR_OFFSET, IN865_MAX_RX1_DR_OFFSET ) == false )
736734
{
737735
status &= 0xFB; // Rx1DrOffset range KO
738736
}

0 commit comments

Comments
 (0)