fixed start in gps

pull/294/head
Alan Johnston 2 years ago committed by GitHub
parent 8a8247c5ce
commit f4a42cfcb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -544,9 +544,10 @@ bool check_for_wifi() {
void get_gps() {
bool newData = false;
unsigned long starting = millis();
unsigned long start = millis();
for (unsigned long start = millis(); millis() - start < 1000;) // 5000;)
// for (unsigned long start = millis(); millis() - start < 1000;) // 5000;)
while ((millis() - start) < 1000) // 5000;)
{
while (Serial2.available())
{

Loading…
Cancel
Save

Powered by TurnKey Linux.