From 52f3b7be4f7f95bbc4e21a1702c6ceab77e4075e Mon Sep 17 00:00:00 2001 From: Linar Yusupov Date: Thu, 15 Feb 2024 13:35:15 +0300 Subject: [PATCH] Ham: few T-TWR V2.1 init adjustments [skip ci] --- software/firmware/source/SoftRF/src/platform/ESP32.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/software/firmware/source/SoftRF/src/platform/ESP32.cpp b/software/firmware/source/SoftRF/src/platform/ESP32.cpp index 1b8c3c994..a372ae02c 100644 --- a/software/firmware/source/SoftRF/src/platform/ESP32.cpp +++ b/software/firmware/source/SoftRF/src/platform/ESP32.cpp @@ -1167,6 +1167,7 @@ static void ESP32_setup() axp_2xxx.enableBLDO1(); + axp_2xxx.disableBLDO2(); axp_2xxx.disableALDO3(); axp_2xxx.disableDC3(); @@ -1483,8 +1484,9 @@ static void ESP32_setup() esp32_board = ESP32_LILYGO_T_TWR_V2_1; hw_info.revision = 21; - axp_2xxx.setALDO3Voltage(3300); // V2.1 - SA868 - axp_2xxx.enableALDO3(); + axp_2xxx.setBLDO2Voltage(3300); // V2.1 - SA868 + axp_2xxx.enableBLDO2(); + // axp_2xxx.setALDO3Voltage(3300); // V2.1 - Amp. OE Ctrl #if defined(USE_SA8X8) #if 0