aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-10-06 16:58:52 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:04:02 -0800
commit5c489c2597948b131aaddb516fe6af40e438b251 (patch)
tree984cc0dd2c9c13aea1f36cfff73bababdd265d46 /host
parente2f8f8e0bd36171246e99d96a5155a5b098f6700 (diff)
downloaduhd-5c489c2597948b131aaddb516fe6af40e438b251.tar.gz
uhd-5c489c2597948b131aaddb516fe6af40e438b251.tar.bz2
uhd-5c489c2597948b131aaddb516fe6af40e438b251.zip
mpm/n310: Moved the mboard ref_locked sensor into MPM
An N310 device will query all its dboards for ref lock status and return a Boolean combination as a motherboard sensors (note: the N310 does not actually have a ref_locked sensor on the motherboard, this is mostly for backwards-compat with UHD applications that expect a motherboard ref lock sensor).
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/mpmd/mpmd_impl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.cpp b/host/lib/usrp/mpmd/mpmd_impl.cpp
index 93e777af2..1b22ed294 100644
--- a/host/lib/usrp/mpmd/mpmd_impl.cpp
+++ b/host/lib/usrp/mpmd/mpmd_impl.cpp
@@ -98,14 +98,6 @@ namespace {
);
})
;
- tree->create<sensor_value_t>(
- mb_path / "sensors/ref_locked")
- .set_publisher([](){
- return sensor_value_t (
- "Ref", true, "locked", "unlocked" // FIXME: Remove hardcoded "true"
- );
- })
- ;
/*** Sensors ********************************************************/
auto sensor_list =