mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user