Skip to content

Commit

Permalink
To fix RX Channel for as923 and as923_2
Browse files Browse the repository at this point in the history
#141

Signed-off-by: Sabas <[email protected]>
  • Loading branch information
sabas1080 authored Oct 24, 2022
1 parent 336a87d commit 791b98c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/arduino-rfm/lorawan-arduino-rfm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ void LoRaWANClass::setChannel(unsigned char channel)
LoRa_Settings.Channel_Rx = channel + 0x08;
#elif defined(EU_868)
LoRa_Settings.Channel_Rx = channel;
#endif
#elif defined(AS_923) || defined(AS_923_2)
LoRa_Settings.Channel_Rx = channel;
#endif
}
else if (channel == MULTI)
Expand Down

0 comments on commit 791b98c

Please sign in to comment.