# HG changeset patch # User Malte Bayer # Date 1323430356 -3600 # Node ID c2e2695c92feaa5227072bd635c96d3c1a838eba # Parent a20f59a3016c2e3589a456350a1bf989f3061d89 decreased blocking time for serial rx diff -r a20f59a3016c -r c2e2695c92fe slotUI/freeslot.py --- a/slotUI/freeslot.py Fri Dec 09 12:28:47 2011 +0100 +++ b/slotUI/freeslot.py Fri Dec 09 12:32:36 2011 +0100 @@ -27,7 +27,8 @@ if self.connected: return True try: - self.com = serial.Serial(self.device, baudrate=self.speed, xonxoff=0, timeout=1) + self.com = serial.Serial(self.device, baudrate=self.speed, + xonxoff=0, timeout=0.1) except serial.SerialException, err: print err sys.exit(1)