tools: Update flasher script to new bus layout
This commit is contained in:
parent
e7d9f391ef
commit
838a8abe7b
@ -56,7 +56,7 @@ def get_diff(a, b):
|
|||||||
|
|
||||||
def probe():
|
def probe():
|
||||||
r = sread(0, 4, quiet = True);
|
r = sread(0, 4, quiet = True);
|
||||||
if r != b'7\x03\x00\x81':
|
if r is None:
|
||||||
eprint("ERROR: Probe failed! Check that the device is in bootloader mode.")
|
eprint("ERROR: Probe failed! Check that the device is in bootloader mode.")
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user