diff options
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp index 3bb0aeea6..e5bb87216 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp @@ -135,3 +135,15 @@ std::string magnesium_ad9371_iface::get_lo_source(const uhd::direction_t dir) UHD_LOG_TRACE(_log_prefix, _rpc_prefix << "get_lo_source returned " << retval); return retval; } + +void magnesium_ad9371_iface::set_fir( + const std::string& name, const int8_t gain, const std::vector<int16_t>& coeffs) +{ + request<void>("set_fir", name, gain, coeffs); +} + +std::pair<int8_t, std::vector<int16_t>> magnesium_ad9371_iface::get_fir( + const std::string& name) +{ + return request<std::pair<int8_t, std::vector<int16_t>>>("get_fir", name); +} |