diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-09-08 12:02:26 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-09-08 12:02:26 -0700 |
commit | 042088a7982ab5f9f1e3628dd7fc24f3618af2cd (patch) | |
tree | 263485de1b098b7bf543aa4cfd1f08cf49b54332 /host | |
parent | 2616eed50e715ceb1aaab9225cf89c032db9aa3c (diff) | |
parent | 23198a9092fccbd29336073947db0a4d9aad098d (diff) | |
download | uhd-042088a7982ab5f9f1e3628dd7fc24f3618af2cd.tar.gz uhd-042088a7982ab5f9f1e3628dd7fc24f3618af2cd.tar.bz2 uhd-042088a7982ab5f9f1e3628dd7fc24f3618af2cd.zip |
Merge branch 'maint'
Diffstat (limited to 'host')
-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") { |