Skip to content

Commit 41d239c

Browse files
authored
fix wrong AI refactoring
1 parent 5d46279 commit 41d239c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/frameworks/arduino.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ def safe_remove_sdkconfig_files():
542542
pioenv = env["PIOENV"]
543543
project_dir = env.subst("$PROJECT_DIR")
544544
path_cache = PathCache(platform, mcu)
545-
current_env_section = f"env:{pioenv}"
545+
current_env_section = "env:"+env["PIOENV"]
546+
546547

547548
# Board configuration
548549
board_sdkconfig = board.get("espidf.custom_sdkconfig", "")

0 commit comments

Comments
 (0)