Set default unit to ns

This commit is contained in:
Alex Forencich
2020-11-14 22:39:16 -08:00
parent 028acd6c2d
commit d4f53abeec

View File

@@ -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()