summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2012-05-14 16:37:23 -0700
committerJosh Blum <josh@joshknows.com>2012-05-16 10:54:09 -0700
commitefdc76514da5dd95fbc439027c84a3319377b700 (patch)
tree1f3ea5c6f35ac78e9049e85e6928be84265ede6e /host
parent2a0eecdf33f1140eab646b2dfb3686e4397a6253 (diff)
downloaduhd-efdc76514da5dd95fbc439027c84a3319377b700.tar.gz
uhd-efdc76514da5dd95fbc439027c84a3319377b700.tar.bz2
uhd-efdc76514da5dd95fbc439027c84a3319377b700.zip
Removed GPGSA from GPS driver since Firefly doesn't actually support it.
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/gps_ctrl.cpp6
1 files changed, 1 insertions, 5 deletions
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