aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2018-11-12 14:20:51 -0800
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-11-13 17:12:38 -0800
commitf779745dcfd059a0a66f890ca80a4d71f4ac0d5f (patch)
tree423ffd952c59f69c234c66bf0cf5852093e49fbb /mpm/python
parent15051a37036458441f8a76ad5c6b2de13502bf72 (diff)
downloaduhd-f779745dcfd059a0a66f890ca80a4d71f4ac0d5f.tar.gz
uhd-f779745dcfd059a0a66f890ca80a4d71f4ac0d5f.tar.bz2
uhd-f779745dcfd059a0a66f890ca80a4d71f4ac0d5f.zip
mpm:e320: fixup gps_locked type
gps_locked should be a bool not int.
Diffstat (limited to 'mpm/python')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/e320.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/e320.py b/mpm/python/usrp_mpm/periph_manager/e320.py
index 035df436f..8ec6c75e0 100644
--- a/mpm/python/usrp_mpm/periph_manager/e320.py
+++ b/mpm/python/usrp_mpm/periph_manager/e320.py
@@ -645,7 +645,7 @@ class e320(ZynqComponents, PeriphManagerBase):
"""
Get lock status of GPS as a sensor dict
"""
- gps_locked = self.mboard_regs_control.get_gps_locked_val()
+ gps_locked = bool(self.mboard_regs_control.get_gps_locked_val())
return {
'name': 'gps_lock',
'type': 'BOOLEAN',