risc-v/esp32c3: Remove erroneous interrupt disable
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
f47cb67da6
commit
e4d219ca06
@ -706,10 +706,6 @@ static int esp32c3_tim_setisr(struct esp32c3_tim_dev_s *dev,
|
|||||||
|
|
||||||
if (priv->cpuint != -ENOMEM)
|
if (priv->cpuint != -ENOMEM)
|
||||||
{
|
{
|
||||||
/* Disable cpu interrupt */
|
|
||||||
|
|
||||||
up_disable_irq(priv->cpuint);
|
|
||||||
|
|
||||||
/* Disable CPU Interrupt, free a previously allocated
|
/* Disable CPU Interrupt, free a previously allocated
|
||||||
* CPU Interrupt
|
* CPU Interrupt
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user