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. */