Skip to content

Commit b83440e

Browse files
authored
Refactor Arduino libraries path assignment
1 parent e00157c commit b83440e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

builder/frameworks/component_manager.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ def __init__(self, env):
5252
# Get Arduino libraries installation directory
5353
ald = self.platform.get_package_dir("framework-arduinoespressif32-libs")
5454
# Get MCU-specific Arduino libraries directory
55-
self.arduino_libs_mcu = (
56-
str(Path(ald) / self.mcu) if ald else ""
57-
)
55+
self.arduino_libs_mcu_path = (Path(ald) / self.mcu)
56+
self.arduino_libs_mcu = str(self.arduino_libs_mcu_path)
5857

5958

6059
class ComponentLogger:

0 commit comments

Comments
 (0)