aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-11 16:14:00 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-11 16:58:09 -0700
commitfae746179cbb1d8ac146dcae9b5d6cb58b366a56 (patch)
treef3b7db3841f84ded03e97b7020cb0616294b4579 /host/lib/usrp/b200
parenteed305afee7c5c34a48efd75dfb49ba20072f518 (diff)
downloaduhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.tar.gz
uhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.tar.bz2
uhd-fae746179cbb1d8ac146dcae9b5d6cb58b366a56.zip
uhd: Fixed multiple compiler warnings (unused variables, missing literal f)
Diffstat (limited to 'host/lib/usrp/b200')
-rw-r--r--host/lib/usrp/b200/b200_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp
index e30853762..304a3fc48 100644
--- a/host/lib/usrp/b200/b200_impl.cpp
+++ b/host/lib/usrp/b200/b200_impl.cpp
@@ -1007,6 +1007,6 @@ sensor_value_t b200_impl::get_ref_locked(void)
sensor_value_t b200_impl::get_fe_pll_locked(const bool is_tx)
{
const boost::uint32_t st = _local_ctrl->peek32(RB32_CORE_PLL);
- const bool locked = is_tx ? st & 0x1 : st & 0x2;
+ const bool locked = is_tx ? bool(st & 0x1) : bool(st & 0x2);
return sensor_value_t("LO", locked, "locked", "unlocked");
}