[code-quality] fix clang-tidy network (#7266)

This commit is contained in:
tomaszduda23
2024-08-13 21:48:27 +02:00
committed by GitHub
parent c9979ad90c
commit b082a64d32
5 changed files with 10 additions and 2 deletions
+1
View File
@@ -32,6 +32,7 @@ CONFIG_SCHEMA = cv.Schema(
async def to_code(config):
cg.add_define("USE_NETWORK")
if (enable_ipv6 := config.get(CONF_ENABLE_IPV6, None)) is not None:
cg.add_define("USE_NETWORK_IPV6", enable_ipv6)
if enable_ipv6: