OS-X was rebooting devices on connect, force RTS false

(RTS is connected to ESP32 reset).  Thanks to @mc-hamster for this fix!
This commit is contained in:
geeksville committed 2020-09-12 12:31:05 -07:00
1 parent 33b31d0fb2
commit e485af752b
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -430,6 +430,7 @@ class StreamInterface(MeshInterface):
self._wantExit = False
self.stream = serial.Serial(
devPath, 921600, exclusive=True, timeout=0.5)
self.stream.setRTS(False)
self._rxThread = threading.Thread(target=self.__reader, args=())
MeshInterface.__init__(self, debugOut=debugOut, noProto=noProto)