aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-11-23 17:00:34 -0800
committerNick Foster <nick@nerdnetworks.org>2010-11-23 17:00:34 -0800
commit98b22c36f7899c5e040cc96c374f789f91f36bf5 (patch)
tree3b9fa7cdaea48e4cd7dc9fbf7228d7fbcb50db28
parent4691a33f57eed3346bc1002bcae51603d21020e3 (diff)
downloaduhd-98b22c36f7899c5e040cc96c374f789f91f36bf5.tar.gz
uhd-98b22c36f7899c5e040cc96c374f789f91f36bf5.tar.bz2
uhd-98b22c36f7899c5e040cc96c374f789f91f36bf5.zip
E100: internal ref fix switch statement
-rw-r--r--host/lib/usrp/usrp_e100/mboard_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp_e100/mboard_impl.cpp b/host/lib/usrp/usrp_e100/mboard_impl.cpp
index 03c4385aa..fe26cd63d 100644
--- a/host/lib/usrp/usrp_e100/mboard_impl.cpp
+++ b/host/lib/usrp/usrp_e100/mboard_impl.cpp
@@ -59,9 +59,9 @@ void usrp_e100_impl::update_clock_config(void){
//clock source ref 10mhz
switch(_clock_config.ref_source){
- case clock_config_t::REF_AUTO: _clock_ctrl->use_auto_ref();
- case clock_config_t::REF_INT: _clock_ctrl->use_internal_ref();
- case clock_config_t::REF_SMA: _clock_ctrl->use_external_ref();
+ case clock_config_t::REF_AUTO: _clock_ctrl->use_auto_ref(); break;
+ case clock_config_t::REF_INT: _clock_ctrl->use_internal_ref(); break;
+ case clock_config_t::REF_SMA: _clock_ctrl->use_auto_ref(); break;
default: throw std::runtime_error("unhandled clock configuration ref source");
}
}