Skip to content

Commit fca8877

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Revert "Merge pull request #8788 from kaidokert/master"
This reverts commit d478d6b, reversing changes made to f9d07f3.
1 parent 5047ea4 commit fca8877

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)