diff --git a/components/modules/spi.c b/components/modules/spi.c index 3424e173..a6751780 100644 --- a/components/modules/spi.c +++ b/components/modules/spi.c @@ -17,7 +17,9 @@ LROT_BEGIN(lspi, NULL, 0) #endif LROT_NUMENTRY( SPI1, SPI1_HOST ) LROT_NUMENTRY( SPI2, SPI2_HOST ) +#ifdef SPI3_HOST LROT_NUMENTRY( SPI3, SPI3_HOST ) +#endif LROT_END(lspi, NULL, 0) int luaopen_spi( lua_State *L ) { diff --git a/sdk/esp32-esp-idf b/sdk/esp32-esp-idf index 6407ecb3..35729009 160000 --- a/sdk/esp32-esp-idf +++ b/sdk/esp32-esp-idf @@ -1 +1 @@ -Subproject commit 6407ecb3f8d2cc07c4c230e7e64f2046af5c86f7 +Subproject commit 357290093430e41e7e3338227a61ef5162f2deed