diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-01-30 09:40:02 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-01-30 09:40:02 +0100 |
commit | 211c590f594f83dc8b5fc724d49c1c8d7207d2f2 (patch) | |
tree | 16b03b97da7c61930053a0b8699a36d36e9857b2 /host/lib/usrp/gps_ctrl.cpp | |
parent | 207903d343f6cb520d86e62c2ebee2e847546f7b (diff) | |
parent | 75e6ae59b3f4832372c08d7da390c5fdcc283067 (diff) | |
download | uhd-211c590f594f83dc8b5fc724d49c1c8d7207d2f2.tar.gz uhd-211c590f594f83dc8b5fc724d49c1c8d7207d2f2.tar.bz2 uhd-211c590f594f83dc8b5fc724d49c1c8d7207d2f2.zip |
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/gps_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/gps_ctrl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp index 28f5a28cd..f4a42af34 100644 --- a/host/lib/usrp/gps_ctrl.cpp +++ b/host/lib/usrp/gps_ctrl.cpp @@ -92,7 +92,7 @@ private: sentences[which].get<2>() = true; } } catch(std::exception &e) { - UHD_MSG(warning) << "get_sentence: " << e.what(); + UHD_LOGV(often) << "get_sentence: " << e.what(); } if (not sentence.empty() or now > exit_time) @@ -134,7 +134,7 @@ private: } void update_cache() { - if(not gps_detected() or (_gps_type != GPS_TYPE_INTERNAL_GPSDO)) { + if(not gps_detected()) { return; } @@ -352,11 +352,11 @@ private: return gps_time; } catch(std::exception &e) { - UHD_MSG(warning) << "get_time: " << e.what(); + UHD_LOGV(often) << "get_time: " << e.what(); error_cnt++; } } - throw uhd::value_error("Timeout after no valid message found"); + throw uhd::value_error("get_time: Timeout after no valid message found"); return gps_time; //keep gcc from complaining } @@ -379,7 +379,7 @@ private: else return (get_token(reply, 6) != "0"); } catch(std::exception &e) { - UHD_MSG(warning) << "locked: " << e.what(); + UHD_LOGV(often) << "locked: " << e.what(); error_cnt++; } } |