From 5d80dd46ae746e9f04af84f5c144c03def2741e2 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 12 Aug 2023 18:38:15 +0200 Subject: [PATCH] [SX126x] Explicitly set non-inverted IQ on startup --- src/modules/SX126x/SX126x.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/SX126x/SX126x.cpp b/src/modules/SX126x/SX126x.cpp index 94195b4f..358cfe79 100644 --- a/src/modules/SX126x/SX126x.cpp +++ b/src/modules/SX126x/SX126x.cpp @@ -91,6 +91,9 @@ int16_t SX126x::begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, flo state = setCRC(2); RADIOLIB_ASSERT(state); + state = invertIQ(false); + RADIOLIB_ASSERT(state); + return(state); }