From e570f76776718df02bd8343b72586962d756b0f8 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Tue, 12 Mar 2024 19:21:45 +0100 Subject: [PATCH] Fix T-LoRa V2.1-6 with TCXO init --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 535051811e..bb9b68631c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -226,6 +226,11 @@ void setup() digitalWrite(PIN_POWER_EN1, INPUT); #endif +#if defined(LORA_TCXO_GPIO) + pinMode(LORA_TCXO_GPIO, OUTPUT); + digitalWrite(LORA_TCXO_GPIO, HIGH); +#endif + #if defined(VEXT_ENABLE_V03) pinMode(VEXT_ENABLE_V03, OUTPUT); pinMode(ST7735_BL_V03, OUTPUT);