Merge branch 'bugfix/part_gen_subtype_fix' into 'master'

partition_table: Fix subtype in gen_esp32part.py

Closes IDFGH-2646

See merge request espressif/esp-idf!7508
This commit is contained in:
Angus Gratton
2020-02-07 14:31:02 +08:00

View File

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