diff options
author | michael-west <michael.west@ettus.com> | 2015-05-19 11:34:57 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-05-22 11:33:55 -0700 |
commit | 6113b921e4cce8fdb57575eb9418b84322d87c3c (patch) | |
tree | a737fabba7291d04b1ebbb4e85e40c013cc87149 /host/lib/usrp/e300/e300_network.cpp | |
parent | da7302cacbcdad59df01a7d7789db3c6fa9c6b24 (diff) | |
download | uhd-6113b921e4cce8fdb57575eb9418b84322d87c3c.tar.gz uhd-6113b921e4cce8fdb57575eb9418b84322d87c3c.tar.bz2 uhd-6113b921e4cce8fdb57575eb9418b84322d87c3c.zip |
E300: Implement get_freq() for E300 network mode.
Diffstat (limited to 'host/lib/usrp/e300/e300_network.cpp')
-rw-r--r-- | host/lib/usrp/e300/e300_network.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_network.cpp b/host/lib/usrp/e300/e300_network.cpp index bb904773b..408f9e62d 100644 --- a/host/lib/usrp/e300/e300_network.cpp +++ b/host/lib/usrp/e300/e300_network.cpp @@ -220,6 +220,9 @@ static void e300_codec_ctrl_tunnel( case codec_xact_t::ACTION_TUNE: out->freq = _codec_ctrl->tune(which_str, in->freq); break; + case codec_xact_t::ACTION_GET_FREQ: + out->freq = _codec_ctrl->get_freq(which_str); + break; case codec_xact_t::ACTION_SET_LOOPBACK: _codec_ctrl->data_port_loopback( uhd::ntohx<boost::uint32_t>(in->bits) & 1); |