From 0e3240ec5680fff7597d209b795dd0bc603f9919 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 1 Jul 2011 22:16:34 -0700 Subject: usrp: renamed sma source option to external --- host/lib/usrp/b100/b100_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/b100/b100_impl.cpp') 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(mb_path / "ref_source/value") .subscribe(boost::bind(&b100_impl::update_ref_source, this, _1)); - static const std::vector ref_sources = boost::assign::list_of("internal")("sma")("auto"); + static const std::vector ref_sources = boost::assign::list_of("internal")("external")("auto"); _tree->create >(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); } -- cgit v1.2.3