diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-04-07 10:43:02 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-04-10 10:58:13 -0700 |
commit | 1f41782b564da36e31f41e2561f2778e36986baf (patch) | |
tree | 4fcb7a0f4add98ee8988f861e1d7d3a6bb0fed64 /host/lib/usrp/b200 | |
parent | 3f0b770ab14aa0acaf4846680e3ee7379a1f93d7 (diff) | |
download | uhd-1f41782b564da36e31f41e2561f2778e36986baf.tar.gz uhd-1f41782b564da36e31f41e2561f2778e36986baf.tar.bz2 uhd-1f41782b564da36e31f41e2561f2778e36986baf.zip |
b200: Remove now obsolete check for recommended max clock rate
Diffstat (limited to 'host/lib/usrp/b200')
-rw-r--r-- | host/lib/usrp/b200/b200_io_impl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_io_impl.cpp b/host/lib/usrp/b200/b200_io_impl.cpp index 60b925517..e423285ce 100644 --- a/host/lib/usrp/b200/b200_io_impl.cpp +++ b/host/lib/usrp/b200/b200_io_impl.cpp @@ -118,8 +118,7 @@ void b200_impl::set_auto_tick_rate( // Step 2: Determine whether if we can use lcm_rate (preferred), // or have to give up because too large: - const double max_tick_rate = - ((num_chans <= 1) ? ad9361_device_t::AD9361_RECOMMENDED_MAX_CLOCK_RATE : ad9361_device_t::AD9361_MAX_CLOCK_RATE/2); + const double max_tick_rate = ad9361_device_t::AD9361_MAX_CLOCK_RATE/num_chans; double base_rate = static_cast<double>(lcm_rate); if (base_rate > max_tick_rate) { UHD_MSG(warning) |