ahora a probar thirdParty

This commit is contained in:
richonguzman 2024-10-05 20:23:58 -03:00
parent 42c990f5cf
commit 6913b6b89f

View file

@ -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 {