kinetis_common: Fix -Wsign-compare in gpio.c

pr/spi.typo
Joakim Nohlgård 7 years ago
parent 8c82d9952b
commit 45c8bc47e8

@ -145,7 +145,7 @@ static inline int get_ctx(int port, int pin)
*/
static int get_free_ctx(void)
{
for (int i = 0; i < CTX_NUMOF; i++) {
for (unsigned int i = 0; i < CTX_NUMOF; i++) {
if (isr_ctx[i].cb == NULL) {
return i;
}

Loading…
Cancel
Save