fix clang tidy

This commit is contained in:
Tomasz Duda 2024-08-14 17:35:11 +02:00
parent e541bd01cc
commit d5c19c267c
3 changed files with 9 additions and 1 deletions

View file

@ -27,6 +27,10 @@
#define MD5_CTX_TYPE LT_MD5_CTX_T
#endif
#if defined(USE_ZEPHYR)
#define MD5_CTX_TYPE void *
#endif
namespace esphome {
namespace md5 {

View file

@ -1,4 +1,5 @@
#include "sensor_mlx90393.h"
#if defined(USE_ARDUINO) || defined(USE_ESP_IDF)
#include "esphome/core/log.h"
namespace esphome {
@ -89,3 +90,4 @@ void MLX90393Cls::update() {
} // namespace mlx90393
} // namespace esphome
#endif

View file

@ -1,5 +1,6 @@
#pragma once
#include "esphome/core/defines.h"
#if defined(USE_ARDUINO) || defined(USE_ESP_IDF)
#include "esphome/core/component.h"
#include "esphome/components/sensor/sensor.h"
#include "esphome/components/i2c/i2c.h"
@ -57,3 +58,4 @@ class MLX90393Cls : public PollingComponent, public i2c::I2CDevice, public MLX90
} // namespace mlx90393
} // namespace esphome
#endif