Set default unit to ns
This commit is contained in:
@@ -459,7 +459,7 @@ class AxiStreamSink(object):
|
|||||||
def idle(self):
|
def idle(self):
|
||||||
return not self.active
|
return not self.active
|
||||||
|
|
||||||
async def wait(self, timeout=0, timeout_unit=None):
|
async def wait(self, timeout=0, timeout_unit='ns'):
|
||||||
if not self.empty():
|
if not self.empty():
|
||||||
return
|
return
|
||||||
self.sync.clear()
|
self.sync.clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user