From 6913b6b89f1afe952aadbbec1f6fbd8d194f2b74 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Sat, 5 Oct 2024 20:23:58 -0300 Subject: [PATCH] ahora a probar thirdParty --- src/digi_utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/digi_utils.cpp b/src/digi_utils.cpp index c08a2d4..ef26a93 100644 --- a/src/digi_utils.cpp +++ b/src/digi_utils.cpp @@ -87,7 +87,7 @@ namespace DIGI_Utils { if (path.indexOf("WIDE1-1") != - 1) { return buildPacket(path, packet, thirdParty, false); } else if (path.indexOf("WIDE1-1") == -1 && (abs(Config.loramodule.txFreq - Config.loramodule.rxFreq) >= 125000)) { // CrossFreq Digi - //Serial.println("CrossFreqDigi mode 2"); + Serial.println("CrossFreqDigi mode 2"); return buildPacket(path, packet, thirdParty, true); } else { return ""; @@ -112,14 +112,14 @@ namespace DIGI_Utils { return ""; } - // sin path y !thirdpacket + // sin path "," y !thirdParty } else if (temp.indexOf(",") == -1 && !thirdParty && (Config.digi.mode == 2 || backUpDigiMode || Config.digi.mode == 3) && (abs(Config.loramodule.txFreq - Config.loramodule.rxFreq) >= 125000)) { Serial.println("sin path, 125k"); return buildPacket("", packet, thirdParty, true); - // sin "," !!!! (ni path) - } else if (thirdParty && temp.indexOf(",") == -1 && (Config.digi.mode == 2 || backUpDigiMode || Config.digi.mode == 3) && (abs(Config.loramodule.txFreq - Config.loramodule.rxFreq) >= 125000)) { + // sin path "," y thirdParty + } else if (temp.indexOf(",") == -1 && thirdParty && (Config.digi.mode == 2 || backUpDigiMode || Config.digi.mode == 3) && (abs(Config.loramodule.txFreq - Config.loramodule.rxFreq) >= 125000)) { Serial.println("sin path, thirdparty , 125k"); return buildPacket("", packet, thirdParty, true); } else {