Skip to content

Commit

Permalink
Replace RX window 2 frequencies with definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jäckle committed Jun 1, 2016
1 parent b0717f7 commit 4e40456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ static void OnRxWindow1TimerEvent( void )
{// LoRa 500 kHz
bandwidth = 2;
}
RxWindowSetup( 923.3e6 + ( Channel % 8 ) * 600e3, datarate, bandwidth, symbTimeout, false );
RxWindowSetup( LORAMAC_FIRST_RX2_CHANNEL + ( Channel % 8 ) * LORAMAC_STEPWIDTH_RX2_CHANNEL, datarate, bandwidth, symbTimeout, false );
#else
#error "Please define a frequency band in the compiler options."
#endif
Expand Down

0 comments on commit 4e40456

Please sign in to comment.