Need to tell SDIO that there is a card in the slot
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2269 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
21805ba00f
commit
2060136e04
@ -201,6 +201,13 @@ int nsh_archinitialize(void)
|
||||
return ret;
|
||||
}
|
||||
message("nsh_archinitialize: Successfully bound SDIO to the MMC/SD driver\n");
|
||||
|
||||
/* Then let's guess and say that there is a card in the slot. I need to check to
|
||||
* see if the STM3210E-EVAL board supports a GPIO to detect if there is a card in
|
||||
* the slot.
|
||||
*/
|
||||
|
||||
sdio_mediachange(sdio, TRUE);
|
||||
#endif
|
||||
return OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user