mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Fix broken tiva_gpioirqclear
This commit is contained in:
committed by
Xiang Xiao
parent
04f7beea83
commit
f6f826c09a
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user