send message just when gps is updated

This commit is contained in:
Peter Buchegger 2020-04-05 20:22:16 +02:00
parent 3c67b3d4c3
commit 85addf9cbf

View file

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