Kinetis PINIRQ: Improper type for return value.

This commit is contained in:
Gregory Nutt 2017-03-03 15:09:44 -06:00
parent f8ef544c34
commit 9a33f41180

View File

@ -325,7 +325,7 @@ int kinetis_pinirqattach(uint32_t pinset, xcpt_t pinisr, void *arg)
#endif
default:
leave_critical_section(flags);
return NULL;
return -EINVAL;
}
/* Get the old PIN ISR and set the new PIN ISR */