tools: Update flasher script to new bus layout

This commit is contained in:
Markus Koch 2024-08-09 14:03:00 +02:00
parent e7d9f391ef
commit 838a8abe7b

View File

@ -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