aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
index 637d85d49..a2de485e3 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
@@ -129,6 +129,12 @@ magnesium_radio_control_impl::magnesium_radio_control_impl(make_args_ptr make_ar
_init_prop_tree();
}
+void magnesium_radio_control_impl::deinit()
+{
+ RFNOC_LOG_TRACE("magnesium_radio_control_impl::deinit()");
+ _reset_tx_frontend(magnesium_cpld_ctrl::BOTH);
+}
+
magnesium_radio_control_impl::~magnesium_radio_control_impl()
{
RFNOC_LOG_TRACE("magnesium_radio_control_impl::dtor() ");