forked from M-Labs/artiq
gateware/rtio/core: avoid potential python bug
This commit is contained in:
parent
24fa74a8ab
commit
9ba8dfbf23
|
@ -290,8 +290,13 @@ class _InputManager(Module):
|
|||
|
||||
|
||||
class Channel:
|
||||
def __init__(self, interface, probes=[], overrides=[],
|
||||
def __init__(self, interface, probes=None, overrides=None,
|
||||
ofifo_depth=64, ififo_depth=64):
|
||||
if probes is None:
|
||||
probes = []
|
||||
if overrides is None:
|
||||
overrides = []
|
||||
|
||||
self.interface = interface
|
||||
self.probes = probes
|
||||
self.overrides = overrides
|
||||
|
|
Loading…
Reference in New Issue