Skip to content

Commit

Permalink
Lost fix to nodemcu-partition.py (take 2)
Browse files Browse the repository at this point in the history
Replay a line from nodemcu#2861
after accidental revert in
nodemcu#3075 (specifically
9ef5c7d)
  • Loading branch information
nwf committed May 31, 2020
1 parent 5135ee4 commit 38b8e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nodemcu-partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def load_PT(data, args):
"""

PTrec,recs = unpack_RCR(data)
flash_size = fs.args if args.fs is not None else DEFAULT_FLASH_SIZE
flash_size = args.fs if args.fs is not None else DEFAULT_FLASH_SIZE

# The partition table format is a set of 3*uint32 fields (type, addr, size),
# with the optional last slot being an end marker (0,size,0) where size is
Expand Down

0 comments on commit 38b8e79

Please sign in to comment.