From eb827f5a60838bb782b9d5ba0671231eb7ed5cf3 Mon Sep 17 00:00:00 2001 From: Nickie Deuxyeux Date: Sun, 26 Apr 2026 15:10:54 +0300 Subject: [PATCH] Added Heltec V4.3 support/FEM autodetection --- sx126x.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sx126x.cpp b/sx126x.cpp index 799c9c0..f0107ec 100755 --- a/sx126x.cpp +++ b/sx126x.cpp @@ -96,6 +96,14 @@ #define SPI spiModem #endif +#if HAS_LORA_PA + uint8_t lora_pa_model = LORA_PA_MODEL; +#endif + +#if HAS_LORA_LNA + int lora_lna_gain = LORA_LNA_GAIN; +#endif + extern SPIClass SPI; #define MAX_PKT_LENGTH 255