mirror of
https://github.com/apache/nuttx.git
synced 2025-01-12 22:08:35 +08:00
xtensa/esp32s3: set cpuint to initial value after deallocate
This commit is contained in:
parent
ae26129e6e
commit
1bc2e1a175
1 changed files with 1 additions and 0 deletions
|
@ -774,6 +774,7 @@ static int32_t wdt_setisr(struct esp32s3_wdt_dev_s *dev, xcpt_t handler,
|
|||
up_disable_irq(wdt->irq);
|
||||
esp32s3_teardown_irq(wdt->cpu, wdt->periph, wdt->cpuint);
|
||||
irq_detach(wdt->irq);
|
||||
wdt->cpuint = -ENOMEM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue