mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
change macro
This commit is contained in:
parent
da71668e73
commit
8794e7d816
@ -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…
x
Reference in New Issue
Block a user