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

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

See merge request espressif/esp-idf!7536
This commit is contained in:
Angus Gratton 2020-02-11 12:06:25 +08:00
commit 2bee223250

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