Skip to content

Commit ee676f3

Browse files
committed
Return code not given here so don't check for it.
1 parent 44b85d1 commit ee676f3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bootload.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ def download_code(ihx_file, serial_port):
3333
def run_user_code(serial_port):
3434
# User code is entered on intel HEX EOF record
3535
serial_port.write(":00000001FF\n")
36-
rc = serial_port.read()
37-
print "RC =", rc,
38-
if rc in bootloader_error_codes:
39-
print "(%s)" % bootloader_error_codes[rc]
40-
else:
41-
print "(Unknown Error)"
42-
if (rc != '0'):
43-
print "Error running user code!"
44-
return False
4536
return True
4637

4738
def reset_bootloader(serial_port):

0 commit comments

Comments
 (0)