aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2018-05-21 14:50:23 -0700
committerMartin Braun <martin.braun@ettus.com>2018-05-30 02:20:23 +0200
commit6294c1e55d887f0fc781663b3e39fa7737280570 (patch)
treedbbfd3a6b3251f08b42869e4c4cead106ddb4595 /host/lib/usrp/x300
parente80c879f22689b1bd97614a5469d7b164aa4d28f (diff)
downloaduhd-6294c1e55d887f0fc781663b3e39fa7737280570.tar.gz
uhd-6294c1e55d887f0fc781663b3e39fa7737280570.tar.bz2
uhd-6294c1e55d887f0fc781663b3e39fa7737280570.zip
x300: e300: fix git_hash dirty bit position
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index 15d996955..5f5aae403 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -1788,7 +1788,7 @@ void x300_impl::check_fpga_compat(const fs_path &mb_path, const mboard_members_t
_tree->create<std::string>(mb_path / "fpga_version_hash").set(
str(boost::format("%07x%s")
% (git_hash & 0x0FFFFFFF)
- % ((git_hash & 0xF000000) ? "-dirty" : "")));
+ % ((git_hash & 0xF0000000) ? "-dirty" : "")));
}
x300_impl::x300_mboard_t x300_impl::get_mb_type_from_pcie(const std::string& resource, const std::string& rpc_port)