diff options
author | Josh Blum <josh@joshknows.com> | 2012-04-06 12:07:15 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-04-06 12:07:15 -0700 |
commit | c8a2e4881f06212be7e10227220ebac33987143b (patch) | |
tree | 9cc16461a44862612401b76769c87dcdb47d6798 | |
parent | 5918cec1b9d394f0a63dfe04b2c82df97333f1d1 (diff) | |
download | uhd-c8a2e4881f06212be7e10227220ebac33987143b.tar.gz uhd-c8a2e4881f06212be7e10227220ebac33987143b.tar.bz2 uhd-c8a2e4881f06212be7e10227220ebac33987143b.zip |
usrp: fix set_clock_config typo for external and mimo clock ref
This is a typo in the set_clock_config implementation.
However, the enum values are the same, so this would not cause a bug.
Fixed although set_clock_config is a deprecated interface.
-rw-r--r-- | host/lib/usrp/multi_usrp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index 42c654e6b..93c0eada6 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -379,8 +379,8 @@ public: std::string clock_source; switch(clock_config.ref_source){ case clock_config_t::REF_INT: clock_source = "internal"; break; - case clock_config_t::PPS_SMA: clock_source = "external"; break; - case clock_config_t::PPS_MIMO: clock_source = "mimo"; break; + case clock_config_t::REF_SMA: clock_source = "external"; break; + case clock_config_t::REF_MIMO: clock_source = "mimo"; break; default: clock_source = "unknown"; } this->set_clock_source(clock_source, mboard); |