aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/cores
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/cores')
-rw-r--r--mpm/python/usrp_mpm/cores/white_rabbit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/cores/white_rabbit.py b/mpm/python/usrp_mpm/cores/white_rabbit.py
index c30c325e9..eeeb5fd31 100644
--- a/mpm/python/usrp_mpm/cores/white_rabbit.py
+++ b/mpm/python/usrp_mpm/cores/white_rabbit.py
@@ -45,7 +45,7 @@ class WhiteRabbitRegsControl(object):
"""
Retrieves and decodes the lock status for the PPS out of the WR core.
"""
- with self.regs.open():
+ with self.regs:
ext_sync_status = self.periph_peek32(self.PPSG_ESCR)
# bit 2: PPS_VALID
# bit 3: TM_VALID (timecode)