Skip to content

Commit d2e2838

Browse files
authored
Simplify chip_variant initialization in PathCache
Removed redundant assignment of chip_variant.
1 parent 0cd337d commit d2e2838

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

builder/frameworks/arduino.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ class PathCache:
288288
def __init__(self, platform, mcu, chip_variant):
289289
self.platform = platform
290290
self.mcu = mcu
291-
chip_variant = env.BoardConfig().get("build.chip_variant", "").lower()
292-
chip_variant = chip_variant if chip_variant else mcu
293291
self.chip_variant = chip_variant
294292
self._framework_dir = None
295293
self._framework_lib_dir = None

0 commit comments

Comments
 (0)