mirror of
https://github.com/esphome/esphome.git
synced 2025-01-16 09:25:58 +01:00
change macro
This commit is contained in:
parent
da71668e73
commit
8794e7d816
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ using SPIInterface = spi_host_device_t;
|
||||||
|
|
||||||
#endif // USE_ESP_IDF
|
#endif // USE_ESP_IDF
|
||||||
|
|
||||||
#ifndef USE_SPI
|
#ifdef USE_ZEPHYR
|
||||||
// supprse clang-tidy on platform that do not support SPI
|
// supprse clang-tidy
|
||||||
using SPIInterface = void *;
|
using SPIInterface = void *;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue