aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/multi_usrp.cpp
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/multi_usrp.cpp
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/multi_usrp.cpp')
-rw-r--r--host/lib/usrp/multi_usrp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index b62fc8b7f..06c965e2c 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -350,18 +350,18 @@ public:
std::string ref_source;
switch(clock_config.ref_source){
case clock_config_t::REF_INT: ref_source = "internal"; break;
- case clock_config_t::PPS_SMA: ref_source = "sma"; break;
+ case clock_config_t::PPS_SMA: ref_source = "external"; break;
case clock_config_t::PPS_MIMO: ref_source = "mimo"; break;
default: ref_source = "unknown";
}
- if (ref_source == "sma" and clock_config.pps_polarity == clock_config_t::PPS_NEG) ref_source = "_sma_";
+ if (ref_source == "external" and clock_config.pps_polarity == clock_config_t::PPS_NEG) ref_source = "_external_";
_tree->access<std::string>(mb_root(mboard) / "ref_source" / "value").set(ref_source);
//set the time source
std::string time_source;
switch(clock_config.pps_source){
case clock_config_t::PPS_INT: time_source = "internal"; break;
- case clock_config_t::PPS_SMA: time_source = "sma"; break;
+ case clock_config_t::PPS_SMA: time_source = "external"; break;
case clock_config_t::PPS_MIMO: time_source = "mimo"; break;
default: time_source = "unknown";
}