Fix broken tiva_gpioirqclear

This commit is contained in:
Matthew Trescott
2022-05-12 01:12:53 -04:00
committed by Xiang Xiao
parent 04f7beea83
commit f6f826c09a
+1 -1
View File
@@ -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 */