Jelajahi Sumber

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
Angus Gratton 6 tahun lalu
induk
melakukan
72e7978f89
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      components/partition_table/gen_esp32part.py

+ 1 - 1
components/partition_table/gen_esp32part.py

@@ -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