mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
spi: fix micro SPI_HOST_MAX error
Closes https://github.com/espressif/esp-idf/issues/10349
This commit is contained in:
parent
c41bb46d92
commit
d51f4583a4
@ -19,7 +19,9 @@ typedef enum {
|
||||
//SPI1 can be used as GPSPI only on ESP32
|
||||
SPI1_HOST=0, ///< SPI1
|
||||
SPI2_HOST=1, ///< SPI2
|
||||
#if SOC_SPI_PERIPH_NUM > 2
|
||||
SPI3_HOST=2, ///< SPI3
|
||||
#endif
|
||||
SPI_HOST_MAX, ///< invalid host value
|
||||
} spi_host_device_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user