app_update: Fix argument of ParttoolTarget
This commit is contained in:
parent
aa0c5f03be
commit
3f47269211
|
@ -53,7 +53,7 @@ class OtatoolTarget():
|
|||
def __init__(self, port=None, partition_table_offset=PARTITION_TABLE_OFFSET, partition_table_file=None,
|
||||
spi_flash_sec_size=SPI_FLASH_SEC_SIZE, esptool_args=[], esptool_write_args=[],
|
||||
esptool_read_args=[], esptool_erase_args=[]):
|
||||
self.target = ParttoolTarget(port, partition_table_offset, partition_table_file, esptool_args,
|
||||
self.target = ParttoolTarget(port, None, partition_table_offset, partition_table_file, esptool_args,
|
||||
esptool_write_args, esptool_read_args, esptool_erase_args)
|
||||
self.spi_flash_sec_size = spi_flash_sec_size
|
||||
|
||||
|
|
Loading…
Reference in a new issue