summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-01 22:16:34 -0700
committerJosh Blum <josh@joshknows.com>2011-07-01 22:16:34 -0700
commit0e3240ec5680fff7597d209b795dd0bc603f9919 (patch)
tree9c281aeff34cbd096d1f7320151260d4284f9fde /host/lib/usrp/b100
parentea309eba1b34371e710a01ad9bfd26a88311c267 (diff)
downloaduhd-0e3240ec5680fff7597d209b795dd0bc603f9919.tar.gz
uhd-0e3240ec5680fff7597d209b795dd0bc603f9919.tar.bz2
uhd-0e3240ec5680fff7597d209b795dd0bc603f9919.zip
usrp: renamed sma source option to external
Diffstat (limited to 'host/lib/usrp/b100')
-rw-r--r--host/lib/usrp/b100/b100_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b100/b100_impl.cpp b/host/lib/usrp/b100/b100_impl.cpp
index d1048d4c8..93e26f047 100644
--- a/host/lib/usrp/b100/b100_impl.cpp
+++ b/host/lib/usrp/b100/b100_impl.cpp
@@ -330,7 +330,7 @@ b100_impl::b100_impl(const device_addr_t &device_addr){
//setup reference source props
_tree->create<std::string>(mb_path / "ref_source/value")
.subscribe(boost::bind(&b100_impl::update_ref_source, this, _1));
- static const std::vector<std::string> ref_sources = boost::assign::list_of("internal")("sma")("auto");
+ static const std::vector<std::string> ref_sources = boost::assign::list_of("internal")("external")("auto");
_tree->create<std::vector<std::string> >(mb_path / "ref_source/options").set(ref_sources);
////////////////////////////////////////////////////////////////////
@@ -447,7 +447,7 @@ void b100_impl::set_db_eeprom(const std::string &type, const uhd::usrp::dboard_e
void b100_impl::update_ref_source(const std::string &source){
if (source == "auto") _clock_ctrl->use_auto_ref();
else if (source == "internal") _clock_ctrl->use_internal_ref();
- else if (source == "sma") _clock_ctrl->use_external_ref();
+ else if (source == "external") _clock_ctrl->use_external_ref();
else throw uhd::runtime_error("unhandled clock configuration reference source: " + source);
}