aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium
diff options
context:
space:
mode:
authorCiro Nishiguchi <ciro.nishiguchi@ni.com>2020-05-11 12:57:22 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-05-12 12:04:39 -0500
commit3ab92a83c8f051c7f52511eebfc4dcd9fca92251 (patch)
tree32282f3d8567293a76013d28780997c5854a1bc5 /host/lib/usrp/dboard/magnesium
parent87f56f775c994e96ccd64281ef5106349dd28afc (diff)
downloaduhd-3ab92a83c8f051c7f52511eebfc4dcd9fca92251.tar.gz
uhd-3ab92a83c8f051c7f52511eebfc4dcd9fca92251.tar.bz2
uhd-3ab92a83c8f051c7f52511eebfc4dcd9fca92251.zip
uhd: Fix infinite recursion in N3xx timed commands
The implementation of set_command_time was calling wb_iface set_time, which in turn makes a recursive call to set_command_time. This removes the erroneous recursive call.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp10
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp5
2 files changed, 0 insertions, 15 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
index e4d446f95..e52551365 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
@@ -1144,16 +1144,6 @@ sensor_value_t magnesium_radio_control_impl::get_tx_sensor(
}
/**************************************************************************
- * node_t API Calls
- *************************************************************************/
-void magnesium_radio_control_impl::set_command_time(
- uhd::time_spec_t time, const size_t chan)
-{
- node_t::set_command_time(time, chan);
- _wb_ifaces.at(chan)->set_time(time);
-}
-
-/**************************************************************************
* Radio Identification API Calls
*************************************************************************/
size_t magnesium_radio_control_impl::get_chan_from_dboard_fe(
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
index 3c965866e..fc8c79b5a 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.hpp
@@ -167,11 +167,6 @@ public:
const size_t chan, const uhd::direction_t direction) const;
std::string get_fe_name(const size_t chan, const uhd::direction_t direction) const;
- /**************************************************************************
- * node_t API Calls
- *************************************************************************/
- void set_command_time(uhd::time_spec_t time, const size_t chan);
-
private:
/**************************************************************************
* Helpers