Przeglądaj źródła

fix(idf.py): fixed save-defconfig failing due to wrong argument name

Marius Vikhammer 2 lat temu
rodzic
commit
d36b72ef23
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      tools/idf_py_actions/core_ext.py

+ 2 - 2
tools/idf_py_actions/core_ext.py

@@ -77,8 +77,8 @@ def action_extensions(base_actions: Dict, project_path: str) -> Any:
         args.no_hints = True
         build_target(target_name, ctx, args)
 
-    def save_defconfig(target_name: str, ctx: Context, args: PropertyDict, menu_labels: bool) -> None:
-        if menu_labels:
+    def save_defconfig(target_name: str, ctx: Context, args: PropertyDict, add_menu_labels: bool) -> None:
+        if add_menu_labels:
             os.environ['ESP_IDF_KCONFIG_MIN_LABELS'] = '1'
         else:
             # unset variable