diff options
author | michael-west <michael.west@ettus.com> | 2016-09-08 11:09:25 -0700 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2016-09-08 11:09:25 -0700 |
commit | 23198a9092fccbd29336073947db0a4d9aad098d (patch) | |
tree | 77d010fe36791f8c7a6b6beb91d02d05a59efb28 /host/lib/usrp/gps_ctrl.cpp | |
parent | 8e5a81e2096887d7581fd232fb86cc303ca6ecc6 (diff) | |
download | uhd-23198a9092fccbd29336073947db0a4d9aad098d.tar.gz uhd-23198a9092fccbd29336073947db0a4d9aad098d.tar.bz2 uhd-23198a9092fccbd29336073947db0a4d9aad098d.zip |
Fix TXCO GPSDO recognition
Diffstat (limited to 'host/lib/usrp/gps_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/gps_ctrl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp index 908f84a00..bfc243d79 100644 --- a/host/lib/usrp/gps_ctrl.cpp +++ b/host/lib/usrp/gps_ctrl.cpp @@ -211,7 +211,9 @@ public: while(boost::get_system_time() < comm_timeout) { reply = _recv(); //known devices are JL "FireFly" and "LC_XO" - if(reply.find("FireFly") != std::string::npos or reply.find("LC_XO") != std::string::npos) { + if(reply.find("FireFly") != std::string::npos + or reply.find("LC_XO") != std::string::npos + or reply.find("GPSTCXO") != std::string::npos) { _gps_type = GPS_TYPE_INTERNAL_GPSDO; break; } else if(reply.substr(0, 3) == "$GP") { |