esp32[s2|s3] Following up update interrupt type constants.

Following up the 'Espressif HAL fullly integration for ESP32s2/s3'
changes in https://github.com/apache/nuttx/pull/11428
There are few missing interrupt type constants need update. So
update them to avoid the build error.
This commit is contained in:
Roy Feng
2024-01-10 11:24:03 +08:00
committed by Xiang Xiao
parent b3dcebce07
commit 4761af7069
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1203,7 +1203,7 @@ static void spislave_initialize(struct spi_slave_ctrlr_s *ctrlr)
spislave_dma_init(priv);
#endif
esp32s2_gpioirqenable(ESP32S2_PIN2IRQ(config->cs_pin), GPIO_INTR_POSEDGE);
esp32s2_gpioirqenable(ESP32S2_PIN2IRQ(config->cs_pin), RISING);
/* Force a transaction done interrupt.
* This interrupt won't fire yet because we initialized the SPI interrupt
+1 -1
View File
@@ -1347,7 +1347,7 @@ static void spislave_initialize(struct spi_slave_ctrlr_s *ctrlr)
spislave_dma_init(priv);
#endif
esp32s3_gpioirqenable(ESP32S3_PIN2IRQ(config->cs_pin), GPIO_INTR_POSEDGE);
esp32s3_gpioirqenable(ESP32S3_PIN2IRQ(config->cs_pin), RISING);
/* Force a transaction done interrupt.
* This interrupt won't fire yet because we initialized the SPI interrupt