diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-02 12:54:55 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:52 -0800 |
commit | df9ca47ed1301eb131fdc0dbdd1e2ab052549aff (patch) | |
tree | 65bf2bf1538663485c5b53c779848039327216fd /mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py | |
parent | 0c5c2f1834d3912e41ff3aa2480b1fd632aa49bd (diff) | |
download | uhd-df9ca47ed1301eb131fdc0dbdd1e2ab052549aff.tar.gz uhd-df9ca47ed1301eb131fdc0dbdd1e2ab052549aff.tar.bz2 uhd-df9ca47ed1301eb131fdc0dbdd1e2ab052549aff.zip |
mpm: eiscat: magnesium: Removed C++-only SPI ifaces
- EISCAT is now Python only with the exception of the definition of the
SPI ifaces
- Magnesium uses a Python-generated SPI iface
- Removed SPI lock from EISCAT dboard
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py b/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py index 733f8fbef..f5114607a 100644 --- a/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py +++ b/mpm/python/usrp_mpm/dboard_manager/lmk_eiscat.py @@ -27,11 +27,10 @@ class LMK04828EISCAT(object): """ LMK04828 controls for EISCAT daughterboard """ - def __init__(self, regs_iface, spi_lock, slot=None): + def __init__(self, regs_iface, slot=None): slot = slot or "-A" self.log = get_logger("LMK04828"+slot) self.regs_iface = regs_iface - self.spi_lock = spi_lock self.init() self.config() @@ -221,8 +220,6 @@ class LMK04828EISCAT(object): # """ # Enable SYSREF pulses # """ - # self.spi_lock.lock() # self.poke8(0x139, 0x2) # self.poke8(0x144, 0xFF) # self.poke8(0x143, 0x52) - # self.spi_lock.unlock() |