mirror of https://github.com/ARMmbed/mbed-os.git
Revert "Merge pull request #8788 from kaidokert/master"
This reverts commitpull/8915/headd478d6bf80
, reversing changes made tof9d07f373f
.
parent
5047ea4f42
commit
fca8877fea
|
@ -388,7 +388,7 @@ def _fill_header(region_list, current_region):
|
|||
else:
|
||||
ih = intelhex_offset(region_dict[data].filename, offset=region_dict[data].start)
|
||||
if subtype.startswith("CRCITT32"):
|
||||
fmt = {"CRCITT32be": ">L", "CRCITT32le": "<L"}[subtype]
|
||||
fmt = {"CRCITT32be": ">l", "CRCITT32le": "<l"}[subtype]
|
||||
header.puts(start, struct.pack(fmt, zlib.crc32(ih.tobinarray())))
|
||||
elif subtype.startswith("SHA"):
|
||||
if subtype == "SHA256":
|
||||
|
|
Loading…
Reference in New Issue