firmware_flasher: support VIALFW01

main
Ilya Zhuravlev 2021-02-08 00:02:16 -05:00
parent 62259f5cd5
commit 78063ff231
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ CHUNK = 64
def cmd_flash(device, firmware, enable_insecure, log_cb, progress_cb, complete_cb, error_cb):
if firmware[0:8] != b"VIALFW00":
if firmware[0:8] not in [b"VIALFW00", b"VIALFW01"]:
return error_cb("Error: Invalid signature")
fw_uid = firmware[8:16]