mirror of
https://github.com/Fishwaldo/pico-sdk.git
synced 2025-03-16 03:51:24 +00:00
parent
1896b1491b
commit
17d53af105
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ try:
|
|||
except:
|
||||
sys.exit("Could not open input file '{}'".format(args.ifile))
|
||||
|
||||
if len(idata) >= args.pad - 4:
|
||||
if len(idata) > args.pad - 4:
|
||||
sys.exit("Input file size ({} bytes) too large for final size ({} bytes)".format(len(idata), args.pad))
|
||||
|
||||
idata_padded = idata + bytes(args.pad - 4 - len(idata))
|
||||
|
|
Loading…
Add table
Reference in a new issue