Change undefined exitNow to exit
This commit is contained in:
parent
dcda86fb90
commit
250b0ab5b0
|
|
@ -187,7 +187,7 @@ try:
|
||||||
ser.flushInput();
|
ser.flushInput();
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
print "COM Port [", SERIALPORT, "] not found, exiting..."
|
print "COM Port [", SERIALPORT, "] not found, exiting..."
|
||||||
exitNow(1)
|
exit(1)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not 0<TARGET<= 255:
|
if not 0<TARGET<= 255:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue