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:50 -0800 |
commit | b0a652597f403c44870e82307e2fd02038621a64 (patch) | |
tree | 6a60d8776a003312c92dc6e6890de0bdcd656a26 | |
parent | 616e01aeac3ae91cb913ed4a74fdd9d88d748d8e (diff) | |
download | uhd-b0a652597f403c44870e82307e2fd02038621a64.tar.gz uhd-b0a652597f403c44870e82307e2fd02038621a64.tar.bz2 uhd-b0a652597f403c44870e82307e2fd02038621a64.zip |
mpmd: Fix typecast warning in property tree default settings
-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") |