From a2ab91b5a017369334ef65f97807f8dd8733f6dc Mon Sep 17 00:00:00 2001 From: richonguzman Date: Wed, 24 May 2023 09:54:48 -0400 Subject: [PATCH] minor update to display message --- src/LoRa_APRS_iGate.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 0419c04..16d016e 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -260,11 +260,13 @@ void checkReceivedPacket(String packet) { deleteNotHeardStation(); updateLastHeardStation(Sender); if (aprsPacket.indexOf("::") >= 10) { - show_display("LoRa iGate: " + Config.callsign, secondLine, "Callsign = " + Sender, "Type --> MESSAGE", 1000); + show_display(firstLine, secondLine, "Callsign = " + Sender, "Type --> MESSAGE", 1000); } else if (aprsPacket.indexOf(":>") >= 10) { - show_display("LoRa iGate: " + Config.callsign, secondLine, "Callsign = " + Sender, "Type --> NEW STATUS", 1000); + show_display(firstLine, secondLine, "Callsign = " + Sender, "Type --> NEW STATUS", 1000); + } else if (aprsPacket.indexOf(":!") >= 10) { + show_display(firstLine, secondLine, "Callsign = " + Sender, "Type --> GPS BEACON", 1000); } else { - show_display("LoRa iGate: " + Config.callsign, secondLine, "Callsign = " + Sender, "Type --> GPS BEACON", 1000); + show_display(firstLine, secondLine, "Callsign = " + Sender, "Type --> ??????????", 1000); } } }