mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
[mlx90393] Compile out on BK72xx where the bundled library cannot build (#17614)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#ifndef USE_BK72XX
|
||||
|
||||
#include "sensor_mlx90393.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
@@ -270,3 +272,5 @@ void MLX90393Cls::verify_settings_timeout_(MLX90393Setting stage) {
|
||||
}
|
||||
|
||||
} // namespace esphome::mlx90393
|
||||
|
||||
#endif // USE_BK72XX
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef USE_BK72XX
|
||||
|
||||
#include <MLX90393.h>
|
||||
#include <MLX90393Hal.h>
|
||||
#include "esphome/components/i2c/i2c.h"
|
||||
@@ -76,3 +78,5 @@ class MLX90393Cls final : public PollingComponent, public i2c::I2CDevice, public
|
||||
};
|
||||
|
||||
} // namespace esphome::mlx90393
|
||||
|
||||
#endif // USE_BK72XX
|
||||
|
||||
Reference in New Issue
Block a user