aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-18 11:23:33 -0800
committerMartin Braun <martin.braun@ettus.com>2016-11-29 08:48:51 -0800
commit1b82c24861e2ecdd9666b0b3c664b43c5978b7c9 (patch)
tree855c6fcb2dcd85258994432b34ab6c3751f2ea81 /host/lib
parent33c0b32db12ee154b1090360fbf76634590fdd3e (diff)
downloaduhd-1b82c24861e2ecdd9666b0b3c664b43c5978b7c9.tar.gz
uhd-1b82c24861e2ecdd9666b0b3c664b43c5978b7c9.tar.bz2
uhd-1b82c24861e2ecdd9666b0b3c664b43c5978b7c9.zip
device3: Backed-out the alignment adaption
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/device3/device3_io_impl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp
index 4ec14c43b..386b4d66e 100644
--- a/host/lib/usrp/device3/device3_io_impl.cpp
+++ b/host/lib/usrp/device3/device3_io_impl.cpp
@@ -473,10 +473,6 @@ void device3_impl::update_rx_streamers(double /* rate */)
if (samp_rate == rfnoc::rate_node_ctrl::RATE_UNDEFINED) {
samp_rate = 1.0;
}
- // This formula is not derived by any scientific means -- we just need to
- // increase the failure threshold as we increase rates. For 1 Msps, we use
- // the default.
- const size_t alignment_failure_factor = std::max(size_t(1), size_t(samp_rate * 1000 / tick_rate));
double scaling = my_streamer->get_terminator()->get_output_scale_factor();
if (scaling == rfnoc::scalar_node_ctrl::SCALE_UNDEFINED) {
scaling = 1/32767.;
@@ -485,8 +481,6 @@ void device3_impl::update_rx_streamers(double /* rate */)
my_streamer->set_tick_rate(tick_rate);
my_streamer->set_samp_rate(samp_rate);
- // 1000 packets is the default alignment failure threshold
- my_streamer->set_alignment_failure_threshold(1000 * alignment_failure_factor);
my_streamer->set_scale_factor(scaling);
}
}