diff options
author | Trung N Tran <trung.tran@ettus.com> | 2018-05-21 14:50:23 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-05-30 02:20:23 +0200 |
commit | 6294c1e55d887f0fc781663b3e39fa7737280570 (patch) | |
tree | dbbfd3a6b3251f08b42869e4c4cead106ddb4595 /host/lib/usrp/e300 | |
parent | e80c879f22689b1bd97614a5469d7b164aa4d28f (diff) | |
download | uhd-6294c1e55d887f0fc781663b3e39fa7737280570.tar.gz uhd-6294c1e55d887f0fc781663b3e39fa7737280570.tar.bz2 uhd-6294c1e55d887f0fc781663b3e39fa7737280570.zip |
x300: e300: fix git_hash dirty bit position
Diffstat (limited to 'host/lib/usrp/e300')
-rw-r--r-- | host/lib/usrp/e300/e300_impl.cpp | 2 |
1 files changed, 1 insertions, 1 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) |