diff options
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-x | nuttx/configs/stm3210e-eval/src/up_nsh.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_nsh.c b/nuttx/configs/stm3210e-eval/src/up_nsh.c index a64c0c4ac..fe18f1c51 100755 --- a/nuttx/configs/stm3210e-eval/src/up_nsh.c +++ b/nuttx/configs/stm3210e-eval/src/up_nsh.c @@ -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; } |