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/multi_usrp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/usrp/multi_usrp.cpp') 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(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"; } -- cgit v1.2.3