kinetis pinirq:Use inttypes

This commit is contained in:
David Sidrane
2021-04-27 04:46:28 -07:00
committed by Julian Oes
parent 93c37e4e0c
commit f3624c172c

View File

@@ -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;