Skip to content

Commit

Permalink
Remove broken assert; fixes microsoft#53
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Jun 16, 2021
1 parent 3016aec commit 467cb3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/uf2conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ def convert_from_hex_to_uf2(buf):
upper = ((rec[4] << 8) | rec[5]) << 16
elif tp == 2:
upper = ((rec[4] << 8) | rec[5]) << 4
assert (upper & 0xffff) == 0
elif tp == 1:
break
elif tp == 0:
Expand Down

0 comments on commit 467cb3a

Please sign in to comment.