# HG changeset patch # User Nicklas Lindgren # Date 1576931086 -3600 # Sat Dec 21 13:24:46 2019 +0100 # Node ID 775139c1f70ee54144088594c8b8c9d661897f95 # Parent b5589aa94c1e6a424d0f713017f68d39caa29be9 Increase serial timeout in chirpw to 0.5s #7119 This increases the serial timeout in chirpw to 0.5s, the same as in chirpc. This solves the BF-888 refused to enter programming mode problem in some cases. diff --git a/chirp/ui/mainapp.py b/chirp/ui/mainapp.py --- a/chirp/ui/mainapp.py +++ b/chirp/ui/mainapp.py @@ -728,7 +728,7 @@ ser = serial.Serial(port=settings.port, baudrate=rclass.BAUD_RATE, rtscts=rclass.HARDWARE_FLOW, - timeout=0.25) + timeout=0.5) ser.flushInput() except serial.SerialException, e: d = inputdialog.ExceptionDialog(e) @@ -774,7 +774,7 @@ ser = serial.Serial(port=settings.port, baudrate=radio.BAUD_RATE, rtscts=radio.HARDWARE_FLOW, - timeout=0.25) + timeout=0.5) ser.flushInput() except serial.SerialException, e: d = inputdialog.ExceptionDialog(e)