diff --git a/nuttx/arch/arm/src/str71x/str71x_irq.c b/nuttx/arch/arm/src/str71x/str71x_irq.c index cacfd9392..abdf29a60 100644 --- a/nuttx/arch/arm/src/str71x/str71x_irq.c +++ b/nuttx/arch/arm/src/str71x/str71x_irq.c @@ -160,6 +160,7 @@ void up_maskack_irq(int irq) /* Clear the interrupt by writing a one to the corresponding bit in the * IPR register. */ + reg32 = getreg32(STR71X_EIC_IPR); reg32 |= (1 << irq); putreg32(reg32, STR71X_EIC_IPR);