aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/cores
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/cores
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/cores')
-rw-r--r--host/lib/usrp/cores/time64_core_200.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/cores/time64_core_200.cpp b/host/lib/usrp/cores/time64_core_200.cpp
index 1edfef8a1..23d1bdea2 100644
--- a/host/lib/usrp/cores/time64_core_200.cpp
+++ b/host/lib/usrp/cores/time64_core_200.cpp
@@ -52,8 +52,8 @@ public:
_mimo_delay_cycles(mimo_delay_cycles)
{
_sources.push_back("none");
- _sources.push_back("sma");
- _sources.push_back("_sma_");
+ _sources.push_back("external");
+ _sources.push_back("_external_");
if (_mimo_delay_cycles != 0) _sources.push_back("mimo");
}
@@ -98,10 +98,10 @@ public:
assert_has(_sources, source, "time source");
//setup pps flags
- if (source == "sma"){
+ if (source == "external"){
_iface->poke32(REG_TIME64_FLAGS, FLAG_TIME64_PPS_SMA | FLAG_TIME64_PPS_POSEDGE);
}
- else if (source == "_sma_"){
+ else if (source == "_external_"){
_iface->poke32(REG_TIME64_FLAGS, FLAG_TIME64_PPS_SMA | FLAG_TIME64_PPS_NEGEDGE);
}