Skip to content

Commit

Permalink
Lost fix to nodemcu-partition.py (take 2) (#3139)
Browse files Browse the repository at this point in the history
Replay a line from #2861
after accidental revert in
#3075 (specifically
9ef5c7d)
  • Loading branch information
nwf authored and marcelstoer committed Jun 9, 2020
1 parent 7c53cc7 commit f20591a
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 f20591a

Please sign in to comment.