Need to set up SD card detect GPIO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2537 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f16b5637a1
commit
b38a70490e
@ -99,4 +99,10 @@ void sam3u_boardinitialize(void)
|
|||||||
#ifdef CONFIG_ARCH_LEDS
|
#ifdef CONFIG_ARCH_LEDS
|
||||||
up_ledinit();
|
up_ledinit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Setup SD card detection PIO */
|
||||||
|
|
||||||
|
#if CONFIG_SAM3U_HSMCI
|
||||||
|
sam3u_configgpio(GPIO_MCI_CD);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user