mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 07:51:43 +01:00
fix clang tidy
This commit is contained in:
parent
e541bd01cc
commit
d5c19c267c
3 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue