aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_tvrx.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-18 10:11:57 -0700
committerJosh Blum <josh@joshknows.com>2011-08-18 10:11:57 -0700
commit93aee136535aa77348d3b7f3520f066a4167126d (patch)
treed0456ba32e274426ffcbde7861ea23bef83fa9d9 /host/lib/usrp/dboard/db_tvrx.cpp
parent8315ab86b172b21f24ecf84ce472bcaffe245f99 (diff)
downloaduhd-93aee136535aa77348d3b7f3520f066a4167126d.tar.gz
uhd-93aee136535aa77348d3b7f3520f066a4167126d.tar.bz2
uhd-93aee136535aa77348d3b7f3520f066a4167126d.zip
usrp: dboard sensors fix, populate for tvrx, and should be empty on basics/unknown
Diffstat (limited to 'host/lib/usrp/dboard/db_tvrx.cpp')
-rw-r--r--host/lib/usrp/dboard/db_tvrx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/db_tvrx.cpp b/host/lib/usrp/dboard/db_tvrx.cpp
index 3b8b276e0..907d798dd 100644
--- a/host/lib/usrp/dboard/db_tvrx.cpp
+++ b/host/lib/usrp/dboard/db_tvrx.cpp
@@ -463,6 +463,10 @@ void tvrx::rx_get(const wax::obj &key_, wax::obj &val){
val = 6.0e6;
return;
+ case SUBDEV_PROP_SENSOR_NAMES:
+ val = std::vector<std::string>(); //empty
+ return;
+
default: UHD_THROW_PROP_GET_ERROR();
}
}