[Ooops] Fix logical error from eaa6469

master
Richard Meadows 2015-07-24 22:57:13 +01:00
rodzic 1f0e8e1900
commit f2f39bad79
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -92,7 +92,7 @@ struct tracker_datapoint* collect_data(void)
/* In the case of a error or timeout keep retrying up to 5
* times */
} while (((gps_get_error_state() == GPS_NOERROR) ||
} while (((gps_get_error_state() != GPS_NOERROR) ||
(cron_current_job_ticks() - ticks_delta_start) > 3)
&& gps_retries++ < GPS_POSITION_RETRIES);