1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist/tools/goodfet: set serial parity to none on exit

This commit is contained in:
Karl Fessel 2022-03-28 08:52:26 +02:00 committed by Francisco Molina
parent 5397b4f783
commit 88942be06c

View File

@ -329,6 +329,8 @@ class LowLevel:
if DEBUG > 1: sys.stderr.write("* comDone()")
self.SetRSTpin(1) #disable power
self.SetTESTpin(0) #disable power
self.serialport.parity = serial.PARITY_NONE #set non parity mode
self.serialport.timeout = 0 #set no timeout
self.serialport.close()
def comRxHeader(self):