mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Kinetis GPIO: Pin IRQ logic no longer returns the xcpt_t oldhandler. There value is useless and dangerous after the recent changes to interrupt argument passing.
This commit is contained in:
@@ -224,7 +224,7 @@ int board_app_initialize(uintptr_t arg)
|
||||
/* Attached the card detect interrupt (but don't enable it yet) */
|
||||
|
||||
kinetis_pinconfig(GPIO_SD_CARDDETECT);
|
||||
kinetis_pinirqattach(GPIO_SD_CARDDETECT, kinetis_cdinterrupt, NULL);
|
||||
(void)kinetis_pinirqattach(GPIO_SD_CARDDETECT, kinetis_cdinterrupt, NULL);
|
||||
|
||||
/* Configure the write protect GPIO */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user