aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
index 290c5f541..8b722e725 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
@@ -414,17 +414,10 @@ void magnesium_radio_ctrl_impl::set_rpc_client(
})
;
- // Sensors
+ // Init sensors
for (const auto &dir : std::vector<direction_t>{RX_DIRECTION, TX_DIRECTION}) {
for (size_t chan_idx = 0; chan_idx < 1 /* num channels FIXME */; chan_idx++) {
- const fs_path fe_path =
- fs_path("dboards") /
- _radio_slot /
- (dir == RX_DIRECTION ? "rx_frontends" : "tx_frontends") /
- chan_idx;
- UHD_LOG_TRACE(unique_id(),
- "Stubbed out adding sensors for fe path " << fe_path);
- // FIXME add sensors here
+ _init_mpm_sensors(dir, chan_idx);
}
}
}