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
fd34e51e1c
commit
99646ff19a
@ -201,6 +201,13 @@ int nsh_archinitialize(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
message("nsh_archinitialize: Successfully bound SDIO to the MMC/SD driver\n");
|
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
|
#endif
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user