From 2111f3be0590dced72d4ea913e28b97755e2ae9c Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Thu, 8 Aug 2024 20:32:00 +0200 Subject: [PATCH] fix clang-tidy --- esphome/components/spi/spi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/esphome/components/spi/spi.h b/esphome/components/spi/spi.h index 4cd8d3383c..6aa3e25ff3 100644 --- a/esphome/components/spi/spi.h +++ b/esphome/components/spi/spi.h @@ -28,6 +28,11 @@ using SPIInterface = spi_host_device_t; #endif // USE_ESP_IDF +#ifdef USE_ZEPHYR +// FIXME just to silent clang-tidy +using SPIInterface = void *; +#endif + /** * Implementation of SPI Controller mode. */