Skip to content

Commit

Permalink
Merge pull request #142 from ElectronicCats/sabas1080-patch-1
Browse files Browse the repository at this point in the history
To fix RX Channel for as923 and as923_2
  • Loading branch information
sabas1080 authored Oct 31, 2022
2 parents 3344506 + 48362d6 commit 2774f45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 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,8 @@ void LoRaWANClass::setChannel(unsigned char channel)
LoRa_Settings.Channel_Rx = channel + 0x08;
#elif defined(EU_868)
LoRa_Settings.Channel_Rx = channel;
#elif defined(AS_923) || defined(AS_923_2)
LoRa_Settings.Channel_Rx = channel;
#endif
}
else if (channel == MULTI)
Expand Down

0 comments on commit 2774f45

Please sign in to comment.