diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/e300/e300_impl.cpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp index 9aa872ff3..9e8ad0028 100644 --- a/host/lib/usrp/e300/e300_impl.cpp +++ b/host/lib/usrp/e300/e300_impl.cpp @@ -766,7 +766,7 @@ std::string e300_impl::_get_version_hash(void) = _global_regs->peek32(global_regs::RB32_CORE_GITHASH); return str(boost::format("%7x%s") % (git_hash & 0x0FFFFFFF) - % ((git_hash & 0xF000000) ? "-dirty" : "")); + % ((git_hash & 0xF0000000) ? "-dirty" : "")); } uint32_t e300_impl::_allocate_sid(const sid_config_t &config) 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) |