From 791b98ccf42c2cfb42113e8e605b3a9ffb67ea3e Mon Sep 17 00:00:00 2001 From: Sabas Date: Mon, 24 Oct 2022 11:14:15 -0500 Subject: [PATCH] To fix RX Channel for as923 and as923_2 https://github.com/ElectronicCats/Beelan-LoRaWAN/pull/141 Signed-off-by: Sabas --- src/arduino-rfm/lorawan-arduino-rfm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arduino-rfm/lorawan-arduino-rfm.cpp b/src/arduino-rfm/lorawan-arduino-rfm.cpp index 3571ba4..ce9a423 100644 --- a/src/arduino-rfm/lorawan-arduino-rfm.cpp +++ b/src/arduino-rfm/lorawan-arduino-rfm.cpp @@ -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)