From f6f826c09ad91ff0624c92077d294b5e0cf801ae Mon Sep 17 00:00:00 2001 From: Matthew Trescott Date: Thu, 12 May 2022 01:12:53 -0400 Subject: [PATCH] Fix broken tiva_gpioirqclear --- arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c b/arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c index 812055098f..2f8df29b98 100644 --- a/arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c +++ b/arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c @@ -741,7 +741,7 @@ void tiva_gpioirqclear(pinconfig_t pinconfig) * logic register. Writing a 0 has no effect." */ - putreg32((1 << pin), base + TIVA_GPIO_ICR_OFFSET); + putreg32(pin, base + TIVA_GPIO_ICR_OFFSET); } #endif /* CONFIG_TIVA_GPIO_IRQS */