We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3a095 commit 1510521Copy full SHA for 1510521
builder/frameworks/arduino.py
@@ -234,9 +234,9 @@ def shorthen_includes(env, node):
234
def get_frameworks_in_current_env():
235
current_env_section = "env:" + env["PIOENV"]
236
# Check if the "framework" option exists in the current environment
237
- if "framework" in projectconfig.options(current_env_section):
+ if "framework" in config.options(current_env_section):
238
# Get the value of the 'framework' option
239
- frameworks = projectconfig.get(current_env_section, "framework", "")
+ frameworks = config.get(current_env_section, "framework", "")
240
# Split comma-separated frameworks and return them as a list
241
return frameworks.split(",")
242
# If no frameworks are found, return an empty list
0 commit comments