Skip to content

Commit ac3ba98

Browse files
authored
Merge pull request #47 from tasmota/hal_lock
add missing c3 define
2 parents dbdad26 + bffb300 commit ac3ba98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-spi.c

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ static spi_t _spi_bus_array[] = {
112112
{(volatile spi_dev_t *)(DR_REG_SPI1_BASE), 0},
113113
{(volatile spi_dev_t *)(DR_REG_SPI2_BASE), 1},
114114
{(volatile spi_dev_t *)(DR_REG_SPI3_BASE), 2}
115+
#elif CONFIG_IDF_TARGET_ESP32C3
116+
{(volatile spi_dev_t *)(&GPSPI2), FSPI}
115117
#else
116118
{(volatile spi_dev_t *)(DR_REG_SPI0_BASE), 0},
117119
{(volatile spi_dev_t *)(DR_REG_SPI1_BASE), 1},

0 commit comments

Comments
 (0)