Skip to content

Commit 90edddf

Browse files
authored
Merge pull request #8915 from cmonr/revert-8788
Revert "Merge pull request #8788 from kaidokert/master"
2 parents 5047ea4 + fca8877 commit 90edddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def _fill_header(region_list, current_region):
388388
else:
389389
ih = intelhex_offset(region_dict[data].filename, offset=region_dict[data].start)
390390
if subtype.startswith("CRCITT32"):
391-
fmt = {"CRCITT32be": ">L", "CRCITT32le": "<L"}[subtype]
391+
fmt = {"CRCITT32be": ">l", "CRCITT32le": "<l"}[subtype]
392392
header.puts(start, struct.pack(fmt, zlib.crc32(ih.tobinarray())))
393393
elif subtype.startswith("SHA"):
394394
if subtype == "SHA256":

0 commit comments

Comments
 (0)