[SX126x] Fixed swapped IQ inversion fix branches (#516)

This commit is contained in:
jgromes 2022-05-03 18:46:56 +02:00
parent 7f09fc430a
commit 57dcf48f6b

View file

@ -1561,7 +1561,7 @@ int16_t SX126x::fixInvertedIQ(uint8_t iqConfig) {
RADIOLIB_ASSERT(state); RADIOLIB_ASSERT(state);
// set correct IQ configuration // set correct IQ configuration
if(iqConfig == RADIOLIB_SX126X_LORA_IQ_STANDARD) { if(iqConfig == RADIOLIB_SX126X_LORA_IQ_INVERTED) {
iqConfigCurrent &= 0xFB; iqConfigCurrent &= 0xFB;
} else { } else {
iqConfigCurrent |= 0x04; iqConfigCurrent |= 0x04;