diff options
author | Ciro Nishiguchi <ciro.nishiguchi@ni.com> | 2020-05-11 12:57:22 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-12 12:04:39 -0500 |
commit | 3ab92a83c8f051c7f52511eebfc4dcd9fca92251 (patch) | |
tree | 32282f3d8567293a76013d28780997c5854a1bc5 /host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp | |
parent | 87f56f775c994e96ccd64281ef5106349dd28afc (diff) | |
download | uhd-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/rhodium/rhodium_radio_control.cpp')
-rw-r--r-- | host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp index f8ec47c18..4ee8a9a6d 100644 --- a/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp +++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp @@ -702,17 +702,6 @@ bool rhodium_radio_control_impl::get_lo_lock_status(const direction_t dir) const return (dir == RX_DIRECTION) ? _rx_lo->get_lock_status() : _tx_lo->get_lock_status(); } -/************************************************************************** - * node_t API Calls - *************************************************************************/ -void rhodium_radio_control_impl::set_command_time( - uhd::time_spec_t time, const size_t chan) -{ - UHD_ASSERT_THROW(chan == 0); - node_t::set_command_time(time, chan); - _wb_iface->set_time(time); -} - // Register the block UHD_RFNOC_BLOCK_REGISTER_FOR_DEVICE_DIRECT( rhodium_radio_control, RADIO_BLOCK, N320, "Radio", true, "radio_clk", "bus_clk"); |