Skip to content
Snippets Groups Projects
Commit 99646ff1 authored by patacongo's avatar patacongo
Browse files

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
parent fd34e51e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment