mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08: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