From a288d3bb2fd570401618085fec5dde42ae7e3ce7 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Tue, 13 Nov 2012 14:47:06 -0800 Subject: gps_ctrl: Lower the number of retries to two when waiting for the time. --- host/lib/usrp/gps_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp index 741e69397..917f115f3 100644 --- a/host/lib/usrp/gps_ctrl.cpp +++ b/host/lib/usrp/gps_ctrl.cpp @@ -242,7 +242,7 @@ private: ptime get_time(void) { int error_cnt = 0; ptime gps_time; - while(error_cnt < 10) { + while(error_cnt < 2) { try { std::string reply = get_nmea("GPRMC"); -- cgit v1.2.3