From 3f47269211cd81af2045af5d81d9379a993ee9ae Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Wed, 10 Jul 2019 08:41:47 +0200 Subject: [PATCH] app_update: Fix argument of ParttoolTarget --- components/app_update/otatool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app_update/otatool.py b/components/app_update/otatool.py index 9bc392c39e..302ebd08a3 100755 --- a/components/app_update/otatool.py +++ b/components/app_update/otatool.py @@ -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