summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/CMakeLists.txt6
-rw-r--r--host/lib/usrp/dboard/db_basic_and_lf.cpp8
-rw-r--r--host/lib/usrp/dboard/db_unknown.cpp8
3 files changed, 19 insertions, 3 deletions
diff --git a/host/lib/usrp/CMakeLists.txt b/host/lib/usrp/CMakeLists.txt
index 32ba79fbb..554da369e 100644
--- a/host/lib/usrp/CMakeLists.txt
+++ b/host/lib/usrp/CMakeLists.txt
@@ -36,7 +36,7 @@ LIBUHD_APPEND_SOURCES(
INCLUDE_SUBDIRECTORY(cores)
INCLUDE_SUBDIRECTORY(dboard)
INCLUDE_SUBDIRECTORY(fx2)
-INCLUDE_SUBDIRECTORY(usrp1)
+#INCLUDE_SUBDIRECTORY(usrp1)
#INCLUDE_SUBDIRECTORY(usrp2)
-INCLUDE_SUBDIRECTORY(b100)
-INCLUDE_SUBDIRECTORY(e100)
+#INCLUDE_SUBDIRECTORY(b100)
+#INCLUDE_SUBDIRECTORY(e100)
diff --git a/host/lib/usrp/dboard/db_basic_and_lf.cpp b/host/lib/usrp/dboard/db_basic_and_lf.cpp
index 566e24d97..05c989a97 100644
--- a/host/lib/usrp/dboard/db_basic_and_lf.cpp
+++ b/host/lib/usrp/dboard/db_basic_and_lf.cpp
@@ -162,6 +162,10 @@ void basic_rx::rx_get(const wax::obj &key_, wax::obj &val){
val = prop_names_t(1, ""); //vector of 1 empty string
return;
+ case SUBDEV_PROP_SENSOR_NAMES:
+ val = prop_names_t(1, ""); //vector of 1 empty string
+ return;
+
case SUBDEV_PROP_CONNECTION:
val = sd_name_to_conn[get_subdev_name()];
return;
@@ -268,6 +272,10 @@ void basic_tx::tx_get(const wax::obj &key_, wax::obj &val){
val = prop_names_t(1, ""); //vector of 1 empty string
return;
+ case SUBDEV_PROP_SENSOR_NAMES:
+ val = prop_names_t(1, ""); //vector of 1 empty string
+ return;
+
case SUBDEV_PROP_CONNECTION:
val = sd_name_to_conn[get_subdev_name()];
return;
diff --git a/host/lib/usrp/dboard/db_unknown.cpp b/host/lib/usrp/dboard/db_unknown.cpp
index 6cacab231..19f0f1c71 100644
--- a/host/lib/usrp/dboard/db_unknown.cpp
+++ b/host/lib/usrp/dboard/db_unknown.cpp
@@ -142,6 +142,10 @@ void unknown_rx::rx_get(const wax::obj &key_, wax::obj &val){
val = prop_names_t(1, ""); //vector of 1 empty string
return;
+ case SUBDEV_PROP_SENSOR_NAMES:
+ val = prop_names_t(1, ""); //vector of 1 empty string
+ return;
+
case SUBDEV_PROP_CONNECTION:
val = SUBDEV_CONN_COMPLEX_IQ;
return;
@@ -238,6 +242,10 @@ void unknown_tx::tx_get(const wax::obj &key_, wax::obj &val){
val = prop_names_t(1, ""); //vector of 1 empty string
return;
+ case SUBDEV_PROP_SENSOR_NAMES:
+ val = prop_names_t(1, ""); //vector of 1 empty string
+ return;
+
case SUBDEV_PROP_CONNECTION:
val = SUBDEV_CONN_COMPLEX_IQ;
return;