diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-03 12:55:27 +0200 | 
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-03 12:55:27 +0200 | 
| commit | 097ea58a684b09d929d4b5cea13dff3e81143d1c (patch) | |
| tree | 798aa77e9a1f1a16d1559653371af4d421e99ca5 /host/lib | |
| parent | a3ec110a07fb24424f59040272f147b7af130aef (diff) | |
| download | uhd-097ea58a684b09d929d4b5cea13dff3e81143d1c.tar.gz uhd-097ea58a684b09d929d4b5cea13dff3e81143d1c.tar.bz2 uhd-097ea58a684b09d929d4b5cea13dff3e81143d1c.zip  | |
Comment out some debugging messages
Diffstat (limited to 'host/lib')
| -rw-r--r-- | host/lib/usrp/gps_ctrl.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp index 1895b494a..f3654daaa 100644 --- a/host/lib/usrp/gps_ctrl.cpp +++ b/host/lib/usrp/gps_ctrl.cpp @@ -107,12 +107,14 @@ private:        // Creating a map here because we only want the latest of each message type        for (std::string msg = _recv(); msg.length() > 6; msg = _recv())        { +        /*          std::stringstream ss;          ss << "Got message ";          for (size_t m = 0; m < msg.size(); m++) {            ss << std::hex << (unsigned int)(unsigned char)msg[m] << " " << std::dec;          }          UHD_MSG(warning) << ss.str() << ":" << std::endl << msg << std::endl; +        */          // Get UBX-NAV-SOL          const uint8_t nav_sol_head[4] = {0xb5, 0x62, 0x01, 0x06};          const std::string nav_sol_head_str(reinterpret_cast<const char *>(nav_sol_head), 4); @@ -152,7 +154,7 @@ private:              std::string next_msg = msg.substr(52+8); -            UHD_MSG(warning) << "Next message " << next_msg << std::endl; +            //UHD_MSG(warning) << "Next message " << next_msg << std::endl;              if (next_msg.find("$") == 0) {                msgs[next_msg.substr(1,5)] = next_msg;              } @@ -207,7 +209,7 @@ public:      const boost::system_time comm_timeout = boost::get_system_time() + milliseconds(GPS_COMM_TIMEOUT_MS);      while(boost::get_system_time() < comm_timeout) {        reply = _recv(); -      UHD_MSG(warning) << "Received " << reply << std::endl; +      //UHD_MSG(warning) << "Received " << reply << std::endl;        if(reply.find("Command Error") != std::string::npos) {          gps_type = GPS_TYPE_INTERNAL_GPSDO;          break;  | 
