Kinetis PINIRQ: Improper type for return value.
This commit is contained in:
parent
f8ef544c34
commit
9a33f41180
@ -325,7 +325,7 @@ int kinetis_pinirqattach(uint32_t pinset, xcpt_t pinisr, void *arg)
|
|||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
leave_critical_section(flags);
|
leave_critical_section(flags);
|
||||||
return NULL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the old PIN ISR and set the new PIN ISR */
|
/* Get the old PIN ISR and set the new PIN ISR */
|
||||||
|
Loading…
Reference in New Issue
Block a user