diff --git a/bin/ard-reset-arduino b/bin/ard-reset-arduino index 69a442e..6925d67 100755 --- a/bin/ard-reset-arduino +++ b/bin/ard-reset-arduino @@ -100,11 +100,7 @@ elif args.caterina: if args.verbose: print('Forcing reset using 1200bps open/close on port %s' % args.port[0]) ser = serial.Serial(args.port[0], 57600) ser.close() - - if pyserial_version < 3: - ser.setBaudrate (1200) - else: - ser.baudrate = 1200 + ser.baudrate = 1200 ser.open() ser.setRTS(True) # RTS line needs to be held high and DTR low