aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_basic_and_lf.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-26 15:13:29 -0700
committerJosh Blum <josh@joshknows.com>2010-04-26 15:13:29 -0700
commitb1992806e130216fdab963c2154f489189b8c3b5 (patch)
tree772d5d53f61758422d7eeb6870f242285db81c15 /host/lib/usrp/dboard/db_basic_and_lf.cpp
parent90ed2e3a80eef0be3a7270364335f0e82f004cc1 (diff)
downloaduhd-b1992806e130216fdab963c2154f489189b8c3b5.tar.gz
uhd-b1992806e130216fdab963c2154f489189b8c3b5.tar.bz2
uhd-b1992806e130216fdab963c2154f489189b8c3b5.zip
added lock detect status to dboards
Diffstat (limited to 'host/lib/usrp/dboard/db_basic_and_lf.cpp')
-rw-r--r--host/lib/usrp/dboard/db_basic_and_lf.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/db_basic_and_lf.cpp b/host/lib/usrp/dboard/db_basic_and_lf.cpp
index 4ca2ef9b1..fa53bd964 100644
--- a/host/lib/usrp/dboard/db_basic_and_lf.cpp
+++ b/host/lib/usrp/dboard/db_basic_and_lf.cpp
@@ -154,6 +154,10 @@ void basic_rx::rx_get(const wax::obj &key_, wax::obj &val){
val = false;
return;
+ case SUBDEV_PROP_LO_LOCKED:
+ val = true; //there is no LO, so it must be true!
+ return;
+
default: UHD_THROW_PROP_WRITE_ONLY();
}
}
@@ -249,6 +253,10 @@ void basic_tx::tx_get(const wax::obj &key_, wax::obj &val){
val = false;
return;
+ case SUBDEV_PROP_LO_LOCKED:
+ val = true; //there is no LO, so it must be true!
+ return;
+
default: UHD_THROW_PROP_WRITE_ONLY();
}
}