esp32c3: Fix missing irq timer

This commit is contained in:
Alan Carvalho de Assis 2023-02-28 11:00:33 -03:00 committed by Xiang Xiao
parent 5e625b9cdb
commit 49a5f02fb1

View File

@ -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()