aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_network.cpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2015-01-23 17:33:23 -0800
committerAshish Chaudhari <ashish@ettus.com>2015-01-23 17:33:23 -0800
commit101f6ee0332485a6fa59e2a69b1de253304dcee6 (patch)
tree21c66bd8990dd598b6f3f5ccd40247207b46b2e3 /host/lib/usrp/e300/e300_network.cpp
parent1f44f06abad589d2244eecfcbca1618b4fcb3ffd (diff)
downloaduhd-101f6ee0332485a6fa59e2a69b1de253304dcee6.tar.gz
uhd-101f6ee0332485a6fa59e2a69b1de253304dcee6.tar.bz2
uhd-101f6ee0332485a6fa59e2a69b1de253304dcee6.zip
e300: Several bugfixes for E300 clk/pps selection code
Diffstat (limited to 'host/lib/usrp/e300/e300_network.cpp')
-rw-r--r--host/lib/usrp/e300/e300_network.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_network.cpp b/host/lib/usrp/e300/e300_network.cpp
index a21c508fe..2c37f2ff1 100644
--- a/host/lib/usrp/e300/e300_network.cpp
+++ b/host/lib/usrp/e300/e300_network.cpp
@@ -332,6 +332,9 @@ static void e300_sensor_tunnel(
} else if (uhd::ntohx(in->which) == GPS_LOCK) {
in->value = uhd::htonx<boost::uint32_t>(
sensor_manager->get_gps_lock().to_bool() ? 1 : 0);
+ } else if (uhd::ntohx(in->which) == REF_LOCK) {
+ in->value = uhd::htonx<boost::uint32_t>(
+ sensor_manager->get_ref_lock().to_bool() ? 1 : 0);
} else if (uhd::ntohx(in->which) == GPS_TIME) {
in->value = uhd::htonx<boost::uint32_t>(
sensor_manager->get_gps_time().to_int());