From 88942be06ceadf72a8e098e021559baf3653881e Mon Sep 17 00:00:00 2001 From: Karl Fessel Date: Mon, 28 Mar 2022 08:52:26 +0200 Subject: [PATCH] dist/tools/goodfet: set serial parity to none on exit --- dist/tools/goodfet/goodfet.bsl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/tools/goodfet/goodfet.bsl b/dist/tools/goodfet/goodfet.bsl index 65d205de9c..2208574355 100755 --- a/dist/tools/goodfet/goodfet.bsl +++ b/dist/tools/goodfet/goodfet.bsl @@ -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):