Commit f20591a8 authored by Nathaniel Wesley Filardo's avatar Nathaniel Wesley Filardo Committed by Marcel Stör
Browse files

Lost fix to nodemcu-partition.py (take 2) (#3139)

Replay a line from https://github.com/nodemcu/nodemcu-firmware/pull/2861
after accidental revert in
https://github.com/nodemcu/nodemcu-firmware/pull/3075 (specifically
9ef5c7dbea86d242c030cc47e804a07f2632b0a1)
parent 7c53cc76
...@@ -126,7 +126,7 @@ def load_PT(data, args): ...@@ -126,7 +126,7 @@ def load_PT(data, args):
""" """
PTrec,recs = unpack_RCR(data) 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), # 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 # with the optional last slot being an end marker (0,size,0) where size is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment