mode3start

This commit is contained in:
richonguzman 2024-08-06 10:11:50 -04:00
parent 62d157d7f0
commit 4659f8b2ff
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ namespace DIGI_Utils {
int wide1Index = path.indexOf("WIDE1-1"); int wide1Index = path.indexOf("WIDE1-1");
int wide2Index = path.indexOf("WIDE2-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); return buildPacket(path, packet, thirdParty);
} else { } else {
return ""; return "";