Use tuple instead of list for static iteration

This commit is contained in:
J. Nick Koston
2026-02-27 12:46:51 -10:00
parent 8dd24bfe78
commit 35ac7a16f9
+1 -1
View File
@@ -1477,7 +1477,7 @@ async def to_code(config):
if conf[CONF_ADVANCED][CONF_ENABLE_FULL_PRINTF]:
cg.add_define("USE_FULL_PRINTF")
else:
for symbol in ["vprintf", "printf", "fprintf"]:
for symbol in ("vprintf", "printf", "fprintf"):
cg.add_build_flag(f"-Wl,--wrap={symbol}")
else:
cg.add_build_flag("-DUSE_ARDUINO")