Skip to content

Commit d63f559

Browse files
committed
Clean up esp-idf build script
1 parent 7449fc8 commit d63f559

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,7 @@ def build_arduino_framework():
400400
variant = env.BoardConfig().get("build.variant")
401401
env.Append(
402402
CPPDEFINES=[
403-
("ARDUINO_VARIANT", '\\"%s\\"' % env.BoardConfig().get(
404-
"build.variant").replace('"', ""))
403+
("ARDUINO_VARIANT", '\\"%s\\"' % variant.replace('"', ""))
405404
],
406405

407406
CPPPATH=[

0 commit comments

Comments
 (0)