Skip to content

Commit f20591a

Browse files
nwfmarcelstoer
authored andcommitted
Lost fix to nodemcu-partition.py (take 2) (#3139)
Replay a line from #2861 after accidental revert in #3075 (specifically 9ef5c7d)
1 parent 7c53cc7 commit f20591a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/nodemcu-partition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def load_PT(data, args):
126126
"""
127127

128128
PTrec,recs = unpack_RCR(data)
129-
flash_size = fs.args if args.fs is not None else DEFAULT_FLASH_SIZE
129+
flash_size = args.fs if args.fs is not None else DEFAULT_FLASH_SIZE
130130

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

0 commit comments

Comments
 (0)