should be setBaudrate not setBaudRate

This commit is contained in:
Gaute Hope 2016-02-11 20:07:34 +01:00
parent 745b520dd6
commit 03f5852f2d

View file

@ -25,7 +25,7 @@ if args.caterina:
ser.close()
if pyserial_version < 3:
ser.setBaudRate (1200)
ser.setBaudrate (1200)
else:
ser.baudrate = 1200