From d36b72ef2331e28c167595103ee704d9dac3ee47 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Sat, 21 Oct 2023 12:23:07 +0800 Subject: [PATCH] fix(idf.py): fixed save-defconfig failing due to wrong argument name --- tools/idf_py_actions/core_ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/idf_py_actions/core_ext.py b/tools/idf_py_actions/core_ext.py index 5857257191..3466b0e953 100644 --- a/tools/idf_py_actions/core_ext.py +++ b/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