Change undefined exitNow to exit

This commit is contained in:
AndrolGenhald 2018-03-08 18:19:41 -06:00
parent dcda86fb90
commit 250b0ab5b0
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ try:
ser.flushInput();
except IOError as e:
print "COM Port [", SERIALPORT, "] not found, exiting..."
exitNow(1)
exit(1)
try:
if not 0<TARGET<= 255: