Skip to content
Snippets Groups Projects
Commit 45c8bc47 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

kinetis_common: Fix -Wsign-compare in gpio.c

parent 8c82d995
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment