mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
dist/tools/goodfet: set serial parity to none on exit
This commit is contained in:
parent
5397b4f783
commit
88942be06c
2
dist/tools/goodfet/goodfet.bsl
vendored
2
dist/tools/goodfet/goodfet.bsl
vendored
@ -329,6 +329,8 @@ class LowLevel:
|
|||||||
if DEBUG > 1: sys.stderr.write("* comDone()")
|
if DEBUG > 1: sys.stderr.write("* comDone()")
|
||||||
self.SetRSTpin(1) #disable power
|
self.SetRSTpin(1) #disable power
|
||||||
self.SetTESTpin(0) #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()
|
self.serialport.close()
|
||||||
|
|
||||||
def comRxHeader(self):
|
def comRxHeader(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user