[SX126x] Fixed swapped IQ inversion fix branches (#516)
This commit is contained in:
parent
7f09fc430a
commit
57dcf48f6b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue