mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 14:25:25 +00:00
xtensa/esp32s3: Fix IRQ setup hardcoded to CPU 0
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
b302173f31
commit
57273ad994
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ static int esp32s3_attach(struct uart_dev_s *dev)
|
|||
/* Set up to receive peripheral interrupts on the current CPU */
|
||||
|
||||
priv->cpu = up_cpu_index();
|
||||
priv->cpuint = esp32s3_setup_irq(0, priv->periph, priv->int_pri,
|
||||
priv->cpuint = esp32s3_setup_irq(priv->cpu, priv->periph, priv->int_pri,
|
||||
ESP32S3_CPUINT_LEVEL);
|
||||
if (priv->cpuint < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue