adding digirepeater when not wifi available

This commit is contained in:
richonguzman
2023-07-30 11:34:20 -04:00
parent d4f719f996
commit 1205c23d67
8 changed files with 125 additions and 26 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ void processPacket(String packet) {
String sender = packet.substring(3,packet.indexOf(">"));
STATION_Utils::updateLastHeard(sender);
Utils::typeOfPacket(packet, "Digi");
if ((stationMode==3) && (packet.indexOf("WIDE1-1") > 10)) {
if ((stationMode==3 || stationMode==5) && (packet.indexOf("WIDE1-1") > 10)) {
loraPacket = packet.substring(3);
loraPacket.replace("WIDE1-1", Config.callsign + "*");
delay(500);