mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 14:28:24 -04:00
fix typo
This commit is contained in:
1 parent
75fe7622a4
commit
c7d981ec35
1 file changed
+1
-1
@@ -41,7 +41,7 @@ class SerialInterface(StreamInterface):
|
||||
# first we need to set the HUPCL so the device will not reboot based on RTS and/or DTR
|
||||
# see https://github.com/pyserial/pyserial/issues/124
|
||||
if not self.noProto:
|
||||
if platform.system() != 'windows':
|
||||
if platform.system() != 'Windows':
|
||||
with open(devPath, encoding='utf8') as f:
|
||||
attrs = termios.tcgetattr(f)
|
||||
attrs[2] = attrs[2] & ~termios.HUPCL
|
||||
|
||||
Reference in new issue
Block a user