Skip to content

Commit 9601b06

Browse files
authored
small refactor
1 parent 77b93c0 commit 9601b06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/frameworks/espidf.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
IDF_ENV_VERSION = "1.0.0"
7070
FRAMEWORK_DIR = platform.get_package_dir("framework-espidf")
7171
TOOLCHAIN_DIR = platform.get_package_dir(
72-
"%s" % ("xtensa-esp-elf" if mcu in ("esp32", "esp32s2", "esp32s3") else ("riscv32-esp-elf"))
72+
"xtensa-esp-elf"
73+
if mcu in ("esp32", "esp32s2", "esp32s3")
74+
else "riscv32-esp-elf"
7375
)
7476

7577

0 commit comments

Comments
 (0)