cleanup
This commit is contained in:
parent
18de748028
commit
7d9cee27c1
1 changed files with 1 additions and 2 deletions
3
kw11.py
3
kw11.py
|
@ -31,9 +31,8 @@ class KW11:
|
||||||
KW11_OFFS = 0o17546
|
KW11_OFFS = 0o17546
|
||||||
|
|
||||||
def __init__(self, ub):
|
def __init__(self, ub):
|
||||||
interrupt_manager = ub.intmgr
|
|
||||||
self._t = threading.Thread(
|
self._t = threading.Thread(
|
||||||
target=self._cloop, args=(0.05, interrupt_manager), daemon=True)
|
target=self._cloop, args=(0.05, ub.intmgr), daemon=True)
|
||||||
self.running = False
|
self.running = False
|
||||||
self.monbit = 0
|
self.monbit = 0
|
||||||
ub.mmio.register_simpleattr(self, 'LKS', self.KW11_OFFS, reset=True)
|
ub.mmio.register_simpleattr(self, 'LKS', self.KW11_OFFS, reset=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue