diff options
author | Josh Blum <josh@joshknows.com> | 2012-05-16 10:56:43 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-05-16 10:56:43 -0700 |
commit | 78bf395b2d9ab0ae3ec2b9c7cd583f30a4780d95 (patch) | |
tree | 7c1a68106d54b580c2d7f7cd50bd57434adddc5b /host/lib | |
parent | c94963a43665809d0a75cebac6283cb7c88a6f5c (diff) | |
parent | e5c9dee58715e927dd919aa3bf361983d17a172f (diff) | |
download | uhd-78bf395b2d9ab0ae3ec2b9c7cd583f30a4780d95.tar.gz uhd-78bf395b2d9ab0ae3ec2b9c7cd583f30a4780d95.tar.bz2 uhd-78bf395b2d9ab0ae3ec2b9c7cd583f30a4780d95.zip |
Merge branch 'maint'
Conflicts:
host/docs/gpsdo.rst
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/b100/codec_ctrl.cpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/gps_ctrl.cpp | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/host/lib/usrp/b100/codec_ctrl.cpp b/host/lib/usrp/b100/codec_ctrl.cpp index 4f9036039..278713ce1 100644 --- a/host/lib/usrp/b100/codec_ctrl.cpp +++ b/host/lib/usrp/b100/codec_ctrl.cpp @@ -105,7 +105,7 @@ b100_codec_ctrl_impl::b100_codec_ctrl_impl(spi_iface::sptr iface){ _ad9862_regs.dll_mode = ad9862_regs_t::DLL_MODE_FAST; //write the register settings to the codec - for (uint8_t addr = 0; addr <= 25; addr++){ + for (boost::uint8_t addr = 0; addr <= 25; addr++){ this->send_reg(addr); } diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp index 45fa1f39e..f3bdded60 100644 --- a/host/lib/usrp/gps_ctrl.cpp +++ b/host/lib/usrp/gps_ctrl.cpp @@ -98,7 +98,6 @@ public: std::vector<std::string> ret = boost::assign::list_of ("gps_gpgga") ("gps_gprmc") - ("gps_gpgsa") ("gps_time") ("gps_locked"); return ret; @@ -106,8 +105,7 @@ public: uhd::sensor_value_t get_sensor(std::string key) { if(key == "gps_gpgga" - or key == "gps_gprmc" - or key == "gps_gpgsa") { + or key == "gps_gprmc") { return sensor_value_t( boost::to_upper_copy(key), get_nmea(boost::to_upper_copy(key.substr(4,8))), @@ -140,8 +138,6 @@ private: sleep(milliseconds(FIREFLY_STUPID_DELAY_MS)); _send("GPS:GPRMC 1\n"); sleep(milliseconds(FIREFLY_STUPID_DELAY_MS)); - _send("GPS:GPGSA 1\n"); - sleep(milliseconds(FIREFLY_STUPID_DELAY_MS)); } //retrieve a raw NMEA sentence |