mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 15:26:01 +00:00
fix clang tidy
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user