Skip to content

Commit

Permalink
Set start time only after successful start.
Browse files Browse the repository at this point in the history
  • Loading branch information
nseidle committed Dec 2, 2024
1 parent d655d79 commit 83a7eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Firmware/RTK_Everywhere/GNSS_LG290P.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1836,14 +1836,14 @@ bool GNSS_LG290P::surveyInStart()
_lg290p->setSurveyInMode(settings.observationSeconds, 0,
false); // Average for a number of seconds (default is 60), no 3D limit, no reset

_autoBaseStartTimer = millis(); // Stamp when averaging began

if (response == false)
{
systemPrintln("Survey start failed");
return (false);
}

_autoBaseStartTimer = millis(); // Stamp when averaging began

return (response);
}
return false;
Expand Down

0 comments on commit 83a7eec

Please sign in to comment.