Merge branch 'bugfix/part_gen_subtype_fix_v4.1' into 'release/v4.1'

partition_table: Fix subtype in gen_esp32part.py (v4.1)

See merge request espressif/esp-idf!7535
This commit is contained in:
Angus Gratton 2020-02-11 12:06:41 +08:00
commit 33069f3133

View file

@ -160,7 +160,7 @@ class PartitionTable(list):
subtype = SUBTYPES[int(ptype)][subtype]
except KeyError:
try:
ptype = int(ptype, 0)
subtype = int(subtype, 0)
except TypeError:
pass