From f6cc1755216afd7d12b435af9eb9843b713ec4c5 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Fri, 17 May 2024 15:11:44 -0400 Subject: [PATCH] version update --- src/lora_utils.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lora_utils.cpp b/src/lora_utils.cpp index 53f36f3..cc03c8e 100644 --- a/src/lora_utils.cpp +++ b/src/lora_utils.cpp @@ -96,16 +96,15 @@ namespace LoRa_Utils { #if defined(ESP32_DIY_1W_LoRa_GPS) || defined(OE5HWN_MeshCom) radio.setRfSwitchPins(RADIO_RXEN, RADIO_TXEN); + state = radio.setOutputPower(currentLoRaType->power); // max value 20 (when 20dB in setup 30dB in output as 400M30S has Low Noise Amp) + radio.setCurrentLimit(140); // to be validated (100 , 120, 140)? #endif #if defined(TTGO_T_Beam_V1_2_SX1262) || defined(TTGO_T_Beam_V1_0_SX1268) || defined(HELTEC_V3_GPS) || defined(HELTEC_WIRELESS_TRACKER) || defined(TTGO_T_Beam_S3_SUPREME_V3) || defined(TTGO_T_DECK_GPS) state = radio.setOutputPower(currentLoRaType->power + 2); // values available: 10, 17, 22 --> if 20 in tracker_conf.json it will be updated to 22. radio.setCurrentLimit(140); #endif - #if defined(ESP32_DIY_1W_LoRa_GPS) || defined(OE5HWN_MeshCom) - state = radio.setOutputPower(currentLoRaType->power); // max value 20 (when 20dB in setup 30dB in output as 400M30S has Low Noise Amp) - radio.setCurrentLimit(140); // check correct value for 1W !!!! - #endif + #if defined(HAS_SX1278) state = radio.setOutputPower(currentLoRaType->power); radio.setCurrentLimit(100); // to be validated (80 , 100)?