From a1f94d9f16a9f780d67cdd89b515db5fe392d3cc Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 27 Dec 2019 09:25:38 +0100 Subject: [PATCH] [SX126x] Set DIO2 to RF switch by default --- 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 2e28ada5..901eb1a0 100644 --- a/src/modules/SX126x/SX126x.cpp +++ b/src/modules/SX126x/SX126x.cpp @@ -72,7 +72,7 @@ int16_t SX126x::begin(float bw, uint8_t sf, uint8_t cr, uint16_t syncWord, float } // set publicly accessible settings that are not a part of begin method - state = setDio2AsRfSwitch(false); + state = setDio2AsRfSwitch(true); return(state); }