From b4ef8cc4e2cebd59f18dd34fcaa438238f3c161a Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Mon, 19 Aug 2024 22:39:12 +0200 Subject: [PATCH] fix clang-tidy --- esphome/components/hmac_md5/hmac_md5.h | 3 ++- esphome/components/microphone/microphone.h | 2 +- esphome/components/speaker/speaker.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/esphome/components/hmac_md5/hmac_md5.h b/esphome/components/hmac_md5/hmac_md5.h index e6a97ad2e3..81597c1acc 100644 --- a/esphome/components/hmac_md5/hmac_md5.h +++ b/esphome/components/hmac_md5/hmac_md5.h @@ -2,7 +2,7 @@ #include "esphome/core/defines.h" #include "esphome/components/md5/md5.h" - +#ifndef USE_ZEPHYR #include namespace esphome { @@ -46,3 +46,4 @@ class HmacMD5 { } // namespace hmac_md5 } // namespace esphome +#endif diff --git a/esphome/components/microphone/microphone.h b/esphome/components/microphone/microphone.h index 883ca97710..914ad80bea 100644 --- a/esphome/components/microphone/microphone.h +++ b/esphome/components/microphone/microphone.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/esphome/components/speaker/speaker.h b/esphome/components/speaker/speaker.h index 193049402d..375ccc4e8c 100644 --- a/esphome/components/speaker/speaker.h +++ b/esphome/components/speaker/speaker.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include