mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-23 09:10:15 +01:00
mode3start
This commit is contained in:
parent
62d157d7f0
commit
4659f8b2ff
|
|
@ -65,7 +65,9 @@ namespace DIGI_Utils {
|
|||
int wide1Index = path.indexOf("WIDE1-1");
|
||||
int wide2Index = path.indexOf("WIDE2-1");
|
||||
|
||||
if ((wide1Index != -1 && wide2Index == -1) || (wide1Index != -1 && wide2Index != -1 && wide1Index < wide2Index) || (wide1Index == -1 && wide2Index != -1)) {
|
||||
if (wide1Index != -1 && wide2Index != -1 && wide1Index < wide2Index) {
|
||||
return buildPacket(path, packet, thirdParty);
|
||||
} else if ((wide1Index != -1 && wide2Index == -1) || (wide1Index == -1 && wide2Index != -1)) {
|
||||
return buildPacket(path, packet, thirdParty);
|
||||
} else {
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue