Merge branch 'bugfix/part_gen_subtype_fix_v3.3' into 'release/v3.3'

partition_table: Fix subtype in gen_esp32part.py (v3.3)

See merge request espressif/esp-idf!7537
This commit is contained in:
Angus Gratton 2020-02-11 12:06:33 +08:00
commit 72e7978f89

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