Commit a040eb77 authored by Nathan Zadoks's avatar Nathan Zadoks

Made -p work >_<

parent c1e45ab9
......@@ -73,6 +73,9 @@ for o,a in opts:
if temp>=tempmax:
print (u'%d \xb0C? Are you insane?'.encode('utf-8')%temp)+(" That's over nine thousand!" if temp>9000 else '')
sys.exit(255)
elif o in ('-p','--port'):
port=a
#Show initial parameters
print "Initial parameters"
print "Steps per mm: %3d steps"%k
......
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