diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-02-22 11:31:13 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-02-22 16:12:23 -0800 |
commit | b9825fa059a7cdb363c72fa65f7af33e787a9d8e (patch) | |
tree | 1ffb3689f294a3f22821710cd34357ef0f07d248 /host/lib | |
parent | a272da1d65d7c3dd3da0180c10064d55db2a52dc (diff) | |
download | uhd-b9825fa059a7cdb363c72fa65f7af33e787a9d8e.tar.gz uhd-b9825fa059a7cdb363c72fa65f7af33e787a9d8e.tar.bz2 uhd-b9825fa059a7cdb363c72fa65f7af33e787a9d8e.zip |
mpmd: Fix typecast warning in property tree default settings
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_prop_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp index f00008971..51b88b0e6 100644 --- a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp +++ b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp @@ -94,7 +94,7 @@ void mpmd_impl::init_property_tree( .set(mb->device_info.get("serial", "n/a")); tree->create<std::string>(mb_path / "connection") .set(mb->device_info.get("connection", "UNKNOWN")); - tree->create<size_t>(mb_path / "link_max_rate").set(1e9 / 8); + tree->create<size_t>(mb_path / "link_max_rate").set(125000000); tree->create<std::string>(mb_path / "mpm_version") .set(mb->device_info.get("mpm_version", "UNKNOWN")); tree->create<std::string>(mb_path / "fpga_version") |