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 {
ret = kinetis_pinirqattach(pinset, func, arg);
pinset &= ~_PIN_INT_MASK
DEBUGASSERT(port < KINETIS_NPORTS);
pinset &= ~_PIN_INT_MASK;
if (risingedge) {
pinset |= PIN_INT_RISING;