From 676dab875503cc31eaf9144cb245530aa454e785 Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Wed, 2 Oct 2019 07:46:01 -0400 Subject: [PATCH] For issue #467, assume 10-bit rxsyms (partial correction) --- src/lmic/radio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmic/radio.c b/src/lmic/radio.c index c36f5b78..508b0a61 100644 --- a/src/lmic/radio.c +++ b/src/lmic/radio.c @@ -467,7 +467,7 @@ static void configLoraModem () { // set ModemConfig1 writeReg(LORARegModemConfig1, mc1); - mc2 = (SX1272_MC2_SF7 + ((sf-1)<<4)); + mc2 = (SX1272_MC2_SF7 + ((sf-1)<<4) + ((LMIC.rxsyms >> 8) & 0x3) ); if (getNocrc(LMIC.rps) == 0) { mc2 |= SX1276_MC2_RX_PAYLOAD_CRCON; }