diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-04 08:33:47 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-04 08:33:47 -0700 |
commit | df91040196c536c1cf0a57379b946c89ea73ae6b (patch) | |
tree | 54fb6d34704c10bf6b00852094a3b437c08fbb53 /host/lib/usrp/e100/e100_impl.hpp | |
parent | 729b284f628f3326d774262570b68540d7de9baa (diff) | |
download | uhd-df91040196c536c1cf0a57379b946c89ea73ae6b.tar.gz uhd-df91040196c536c1cf0a57379b946c89ea73ae6b.tar.bz2 uhd-df91040196c536c1cf0a57379b946c89ea73ae6b.zip |
usrp: added clipping to link max rate when setting sample rate
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.hpp')
-rw-r--r-- | host/lib/usrp/e100/e100_impl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/e100/e100_impl.hpp b/host/lib/usrp/e100/e100_impl.hpp index a7051d497..e24360223 100644 --- a/host/lib/usrp/e100/e100_impl.hpp +++ b/host/lib/usrp/e100/e100_impl.hpp @@ -42,6 +42,7 @@ uhd::transport::zero_copy_if::sptr e100_make_mmap_zero_copy(e100_ctrl::sptr iface); +static const double E100_LINK_RATE_BPS = 256e6/8; static const std::string E100_I2C_DEV_NODE = "/dev/i2c-3"; static const std::string E100_FPGA_FILE_NAME = "usrp_e100_fpga_v2.bin"; static const boost::uint16_t E100_FPGA_COMPAT_NUM = 0x05; |