esp32c3: Fix missing irq timer
This commit is contained in:
parent
5e625b9cdb
commit
49a5f02fb1
@ -786,7 +786,7 @@ static int32_t esp32c3_wdt_setisr(struct esp32c3_wdt_dev_s *dev,
|
||||
{
|
||||
/* Disable the provided CPU interrupt to configure it. */
|
||||
|
||||
up_disable_irq(wdt->cpuint);
|
||||
up_disable_irq(wdt->irq);
|
||||
|
||||
/* Free CPU interrupt that is attached to this peripheral
|
||||
* because we will get another from esp32c3_setup_irq()
|
||||
|
Loading…
Reference in New Issue
Block a user