aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',