[mlx90393] Compile out on BK72xx where the bundled library cannot build (#17614)

This commit is contained in:
Jonathan Swoboda
2026-07-16 15:14:18 -04:00
committed by GitHub
parent 2218edf20c
commit f53394e46f
2 changed files with 8 additions and 0 deletions
@@ -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