diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-31 18:19:30 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:58 -0800 |
commit | 2bd564ca225cbf1d02eb5025315bb67fe458ba00 (patch) | |
tree | d295f722df18cad84a7aa9db6d7f084dfa6b4338 /mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py | |
parent | d16d342be2dee7fef1f798349eba211cce0f27f9 (diff) | |
download | uhd-2bd564ca225cbf1d02eb5025315bb67fe458ba00.tar.gz uhd-2bd564ca225cbf1d02eb5025315bb67fe458ba00.tar.bz2 uhd-2bd564ca225cbf1d02eb5025315bb67fe458ba00.zip |
mpm: Replaced xrange with range for better Python future-proofing
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |