From df91040196c536c1cf0a57379b946c89ea73ae6b Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 4 Jul 2011 08:33:47 -0700 Subject: usrp: added clipping to link max rate when setting sample rate --- host/lib/usrp/b100/b100_impl.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/b100/b100_impl.hpp') diff --git a/host/lib/usrp/b100/b100_impl.hpp b/host/lib/usrp/b100/b100_impl.hpp index 115fba985..62a22674e 100644 --- a/host/lib/usrp/b100/b100_impl.hpp +++ b/host/lib/usrp/b100/b100_impl.hpp @@ -42,6 +42,7 @@ #include #include +static const double B100_LINK_RATE_BPS = 256e6/8; //pratical link rate (< 480 Mbps) static const std::string B100_FW_FILE_NAME = "usrp_b100_fw.ihx"; static const std::string B100_FPGA_FILE_NAME = "usrp_b100_fpga.bin"; static const boost::uint16_t B100_FW_COMPAT_NUM = 0x02; -- cgit v1.2.3