mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19921
19921: dist/tools/pyterm: set exclusive access on port r=benpicco a=benpicco Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
This commit is contained in:
commit
e15304788b
2
dist/tools/pyterm/pyterm
vendored
2
dist/tools/pyterm/pyterm
vendored
@ -654,7 +654,7 @@ class SerCmd(cmd.Cmd):
|
||||
self.process_line(line)
|
||||
|
||||
def serial_connect(self):
|
||||
self.ser = serial.Serial(port=self.port, dsrdtr=0, rtscts=0)
|
||||
self.ser = serial.Serial(port=self.port, dsrdtr=0, rtscts=0, exclusive=1)
|
||||
self.ser.baudrate = self.baudrate
|
||||
|
||||
if self.toggle:
|
||||
|
Loading…
Reference in New Issue
Block a user