Merge branch 'bugfix/parttool_init' into 'master'

parttool: make part_list an optional argument

See merge request espressif/esp-idf!10776
This commit is contained in:
Angus Gratton
2020-10-12 06:36:48 +08:00

View File

@ -59,7 +59,7 @@ class PartitionName(_PartitionId):
class PartitionType(_PartitionId):
def __init__(self, p_type, subtype, part_list):
def __init__(self, p_type, subtype, part_list=None):
_PartitionId.__init__(self, p_type=p_type, subtype=subtype, part_list=part_list)