mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
kinetis pinirq:Use inttypes
This commit is contained in:
committed by
Julian Oes
parent
93c37e4e0c
commit
f3624c172c
@@ -71,8 +71,7 @@ int kinetis_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge,
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
ret = kinetis_pinirqattach(pinset, func, arg);
|
ret = kinetis_pinirqattach(pinset, func, arg);
|
||||||
pinset &= ~_PIN_INT_MASK
|
pinset &= ~_PIN_INT_MASK;
|
||||||
DEBUGASSERT(port < KINETIS_NPORTS);
|
|
||||||
|
|
||||||
if (risingedge) {
|
if (risingedge) {
|
||||||
pinset |= PIN_INT_RISING;
|
pinset |= PIN_INT_RISING;
|
||||||
|
|||||||
Reference in New Issue
Block a user