Commit 36736e31 authored by kliment's avatar kliment

Fix manually entered baudrate reading.

parent b3568cf8
......@@ -87,7 +87,10 @@ class pronsole(cmd.Cmd):
if(len(a)>1):
port=a[0]
if(len(a)>2):
baud=a[1]
try:
baud=int(a[1])
except:
pass
if len(p)==0 and port is None:
print "No serial ports detected - please specify a port"
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment