diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-04-10 13:05:30 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-04-10 13:05:30 -0700 |
commit | d3459ad697b4c38354731eb6e6fc1075b194d5ea (patch) | |
tree | cdc8fb0fbf8cee90d3b3d279b31b0372f1f04a57 /host/lib/usrp/usrp2/usrp2_impl.cpp | |
parent | bab808d883366123a944ce047a0b88a1b3ce1117 (diff) | |
parent | dfd019c5b76446830031c0c2352f0558dd48c210 (diff) | |
download | uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.tar.gz uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.tar.bz2 uhd-d3459ad697b4c38354731eb6e6fc1075b194d5ea.zip |
Merge branch 'martin/warn_sampling_rate'
Warn users if they request a sample rate greater than the interface bandwidth.
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 16d9b9a54..25f661656 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -442,6 +442,7 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){ _mbc[mb].spiface = _mbc[mb].iface; break; } + _tree->create<double>(mb_path / "link_max_rate").set(USRP2_LINK_RATE_BPS); //////////////////////////////////////////////////////////////// // setup the mboard eeprom |