From 85addf9cbf22dde260ea67a73c24294ba89fe35b Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Sun, 5 Apr 2020 20:22:16 +0200 Subject: [PATCH] send message just when gps is updated --- src/LoRa_APRS_Tracker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LoRa_APRS_Tracker.cpp b/src/LoRa_APRS_Tracker.cpp index 600b69e..f06a2ec 100644 --- a/src/LoRa_APRS_Tracker.cpp +++ b/src/LoRa_APRS_Tracker.cpp @@ -63,7 +63,8 @@ void loop() { if(gps.time.isValid() && (gps.time.minute() == update_min || update_min == -1) - && gps.location.isValid()) + && gps.location.isValid() + && gps.location.isUpdated()) { APRSMessage msg; msg.setSource("OE5BPA-9");