fix SPI clang-tidy

This commit is contained in:
Tomasz Duda 2024-08-09 16:20:03 +02:00
parent 8368f94e9e
commit dc64010c32

View file

@ -1,5 +1,4 @@
#pragma once #pragma once
#include "esphome/core/application.h" #include "esphome/core/application.h"
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include "esphome/core/hal.h" #include "esphome/core/hal.h"
@ -28,8 +27,8 @@ using SPIInterface = spi_host_device_t;
#endif // USE_ESP_IDF #endif // USE_ESP_IDF
#ifdef USE_ZEPHYR #ifndef USE_SPI
// FIXME just to silent clang-tidy // supprse clang-tidy on platform that do not support SPI
using SPIInterface = void *; using SPIInterface = void *;
#endif #endif