aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_dbsrx.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-08 13:53:40 -0700
committerJosh Blum <josh@joshknows.com>2010-10-08 13:53:40 -0700
commit2eb813f6845e8cd208d6a59e1d7873cf84c51b03 (patch)
tree5092d49313d9e2d09569504a7999eb0a0a49f9e1 /host/lib/usrp/dboard/db_dbsrx.cpp
parent83fd99cc7badb91a2e8c97048eb9ea694aba22eb (diff)
parenta4f8ad59b2abc6d4b1a6c65aa2652083486e3065 (diff)
downloaduhd-2eb813f6845e8cd208d6a59e1d7873cf84c51b03.tar.gz
uhd-2eb813f6845e8cd208d6a59e1d7873cf84c51b03.tar.bz2
uhd-2eb813f6845e8cd208d6a59e1d7873cf84c51b03.zip
Merge branch 'subdev_enable' into next
Diffstat (limited to 'host/lib/usrp/dboard/db_dbsrx.cpp')
-rw-r--r--host/lib/usrp/dboard/db_dbsrx.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/db_dbsrx.cpp b/host/lib/usrp/dboard/db_dbsrx.cpp
index 81434f054..23cafea53 100644
--- a/host/lib/usrp/dboard/db_dbsrx.cpp
+++ b/host/lib/usrp/dboard/db_dbsrx.cpp
@@ -551,6 +551,10 @@ void dbsrx::rx_get(const wax::obj &key_, wax::obj &val){
val = SUBDEV_CONN_COMPLEX_IQ;
return;
+ case SUBDEV_PROP_ENABLED:
+ val = true; //always enabled
+ return;
+
case SUBDEV_PROP_USE_LO_OFFSET:
val = false;
return;
@@ -587,6 +591,9 @@ void dbsrx::rx_set(const wax::obj &key_, const wax::obj &val){
this->set_gain(val.as<float>(), key.name);
return;
+ case SUBDEV_PROP_ENABLED:
+ return; //always enabled
+
case SUBDEV_PROP_BANDWIDTH:
this->set_bandwidth(val.as<float>());
return;