Skip to content

Commit

Permalink
increase port timeout for python flasher
Browse files Browse the repository at this point in the history
  • Loading branch information
devbis committed Nov 7, 2023
1 parent ec3f46c commit fb6b9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TLSR825xComFlasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def main():
try:
serialPort = serial.Serial(args.port,args.baud)
serialPort.reset_input_buffer()
serialPort.timeout = 0.01
serialPort.timeout = 0.2
except:
print ('Error: Open %s, %d baud!' % (args.port, args.baud))
sys.exit(1)
Expand Down

0 comments on commit fb6b9b1

Please sign in to comment.