From 57dcf48f6bc386f180eecd444acce3668ae0b579 Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 3 May 2022 18:46:56 +0200 Subject: [PATCH] [SX126x] Fixed swapped IQ inversion fix branches (#516) --- src/modules/SX126x/SX126x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/SX126x/SX126x.cpp b/src/modules/SX126x/SX126x.cpp index 5d4f2736..0b9a9b3e 100644 --- a/src/modules/SX126x/SX126x.cpp +++ b/src/modules/SX126x/SX126x.cpp @@ -1561,7 +1561,7 @@ int16_t SX126x::fixInvertedIQ(uint8_t iqConfig) { RADIOLIB_ASSERT(state); // set correct IQ configuration - if(iqConfig == RADIOLIB_SX126X_LORA_IQ_STANDARD) { + if(iqConfig == RADIOLIB_SX126X_LORA_IQ_INVERTED) { iqConfigCurrent &= 0xFB; } else { iqConfigCurrent |= 0x04;