Skip to content

Commit

Permalink
ahora a probar thirdParty
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Oct 5, 2024
1 parent 42c990f commit 6913b6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/digi_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "";
Expand All @@ -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 {
Expand Down

0 comments on commit 6913b6b

Please sign in to comment.