aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/eiscat.py2
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/eiscat.py b/mpm/python/usrp_mpm/dboard_manager/eiscat.py
index 0b76c88ee..4a4d4a256 100644
--- a/mpm/python/usrp_mpm/dboard_manager/eiscat.py
+++ b/mpm/python/usrp_mpm/dboard_manager/eiscat.py
@@ -439,7 +439,7 @@ class EISCAT(DboardManagerBase):
slot_idx,
core_idx,
self.log
- ) for core_idx in xrange(2)
+ ) for core_idx in range(2)
]
def _init_spi_devices():
" Returns abstraction layers to all the SPI devices "
diff --git a/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py b/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py
index d6975fea6..3affdc3e9 100644
--- a/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py
+++ b/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py
@@ -213,7 +213,7 @@ class LMK04828EISCAT(LMK04828):
(0x132, ddly_value), # Hidden register. Write the same as previous based on inc/dec.
(0x144, 0xB1), # Enable SYNC on outputs 2,4,6,12
))
- for x in xrange(abs(num_shifts)):
+ for x in range(abs(num_shifts)):
self.poke8(0x142, 0x1)
self.poke8(0x144, 0xFF) # Disable SYNC on all outputs