send message just when gps is updated

pull/4/head
Peter Buchegger 2020-04-05 20:22:16 +02:00
rodzic 3c67b3d4c3
commit 85addf9cbf
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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");