diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-01 22:16:34 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-01 22:16:34 -0700 |
commit | 0e3240ec5680fff7597d209b795dd0bc603f9919 (patch) | |
tree | 9c281aeff34cbd096d1f7320151260d4284f9fde /host/lib/usrp/e100 | |
parent | ea309eba1b34371e710a01ad9bfd26a88311c267 (diff) | |
download | uhd-0e3240ec5680fff7597d209b795dd0bc603f9919.tar.gz uhd-0e3240ec5680fff7597d209b795dd0bc603f9919.tar.bz2 uhd-0e3240ec5680fff7597d209b795dd0bc603f9919.zip |
usrp: renamed sma source option to external
Diffstat (limited to 'host/lib/usrp/e100')
-rw-r--r-- | host/lib/usrp/e100/e100_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/e100/e100_impl.cpp b/host/lib/usrp/e100/e100_impl.cpp index 248ad52d2..518443435 100644 --- a/host/lib/usrp/e100/e100_impl.cpp +++ b/host/lib/usrp/e100/e100_impl.cpp @@ -289,7 +289,7 @@ e100_impl::e100_impl(const uhd::device_addr_t &device_addr){ //setup reference source props _tree->create<std::string>(mb_path / "ref_source/value") .subscribe(boost::bind(&e100_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); //////////////////////////////////////////////////////////////////// @@ -383,6 +383,6 @@ void e100_impl::set_db_eeprom(const std::string &type, const uhd::usrp::dboard_e void e100_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); } |