diff options
author | Trung Tran <trung.tran@ettus.com> | 2018-11-12 14:20:51 -0800 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-11-13 17:12:38 -0800 |
commit | f779745dcfd059a0a66f890ca80a4d71f4ac0d5f (patch) | |
tree | 423ffd952c59f69c234c66bf0cf5852093e49fbb | |
parent | 15051a37036458441f8a76ad5c6b2de13502bf72 (diff) | |
download | uhd-f779745dcfd059a0a66f890ca80a4d71f4ac0d5f.tar.gz uhd-f779745dcfd059a0a66f890ca80a4d71f4ac0d5f.tar.bz2 uhd-f779745dcfd059a0a66f890ca80a4d71f4ac0d5f.zip |
mpm:e320: fixup gps_locked type
gps_locked should be a bool not int.
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/e320.py | 2 |
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', |