diff --git a/examples/python/cp_app.py b/examples/python/cp_app.py index 5bad8aa..2c28548 100755 --- a/examples/python/cp_app.py +++ b/examples/python/cp_app.py @@ -11,7 +11,7 @@ class SerialChannel(Channel): def __init__(self, device: str, speed: int): - self.dev = serial.Serial(device, speed, timeout=1) + self.dev = serial.Serial(device, speed, timeout=0) def read(self, max_read: int): return self.dev.read(max_read) diff --git a/examples/python/pd_app.py b/examples/python/pd_app.py index 65fd469..c6d3404 100755 --- a/examples/python/pd_app.py +++ b/examples/python/pd_app.py @@ -11,7 +11,7 @@ class SerialChannel(Channel): def __init__(self, device: str, speed: int): - self.dev = serial.Serial(device, speed, timeout=1) + self.dev = serial.Serial(device, speed, timeout=0) def read(self, max: int): return self.dev.read(max)