From 9f7b58438330159fcb7363438f8fad97c75e2729 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 24 May 2021 10:06:50 +0800 Subject: [PATCH] probable fix for the problem @avron noticed on Windows --- meshtastic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/__init__.py b/meshtastic/__init__.py index e68fdb4..182e31f 100644 --- a/meshtastic/__init__.py +++ b/meshtastic/__init__.py @@ -919,7 +919,7 @@ class SerialInterface(StreamInterface): # Note: we provide None for port here, because we will be opening it later self.stream = serial.Serial( - None, 921600, exclusive=True, timeout=0.5) + None, 921600, exclusive=True, timeout=0.5, write_timeout=0) # rts=False Needed to prevent TBEAMs resetting on OSX, because rts is connected to reset self.stream.port = devPath