diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2012-11-13 14:47:06 -0800 |
---|---|---|
committer | Moritz Fischer <moritz.fischer@ettus.com> | 2012-11-13 14:47:06 -0800 |
commit | a288d3bb2fd570401618085fec5dde42ae7e3ce7 (patch) | |
tree | 75c8db172f747d252c4189b26cfae9da8268c844 /host/lib | |
parent | d66d697d6b3999e3bea91239c63ebc0a9ec0802b (diff) | |
download | uhd-a288d3bb2fd570401618085fec5dde42ae7e3ce7.tar.gz uhd-a288d3bb2fd570401618085fec5dde42ae7e3ce7.tar.bz2 uhd-a288d3bb2fd570401618085fec5dde42ae7e3ce7.zip |
gps_ctrl: Lower the number of retries to two when waiting for the time.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/gps_ctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |