mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
Kinetis PINIRQ: Improper type for return value.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user