summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-01 11:07:11 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-01 11:07:11 -0700
commit67e302ee255922c021ce2c12efdbbaad46a787dc (patch)
tree93f88176992a463dc2e01e7a81f86be8e5a46f21 /host/lib
parentb079d9d1751415139518f34d792200b041aff10b (diff)
downloaduhd-67e302ee255922c021ce2c12efdbbaad46a787dc.tar.gz
uhd-67e302ee255922c021ce2c12efdbbaad46a787dc.tar.bz2
uhd-67e302ee255922c021ce2c12efdbbaad46a787dc.zip
TVRX: fixed antenna prop enumeration
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/dboard/db_tvrx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/db_tvrx.cpp b/host/lib/usrp/dboard/db_tvrx.cpp
index 1cb74c5ae..41c52fbf5 100644
--- a/host/lib/usrp/dboard/db_tvrx.cpp
+++ b/host/lib/usrp/dboard/db_tvrx.cpp
@@ -58,7 +58,7 @@ static const bool tvrx_debug = false;
static const freq_range_t tvrx_freq_range(50e6, 860e6);
-static const std::string tvrx_antennas = std::string(""); //only got one
+static const prop_names_t tvrx_antennas = list_of(""); //only got one
static const uhd::dict<std::string, freq_range_t> tvrx_freq_ranges = map_list_of
("VHFLO", freq_range_t(50e6, 158e6))
@@ -436,7 +436,7 @@ void tvrx::rx_get(const wax::obj &key_, wax::obj &val){
return;
case SUBDEV_PROP_ANTENNA:
- val = std::string(tvrx_antennas);
+ val = std::string("");
return;
case SUBDEV_PROP_ANTENNA_NAMES: