stm32f4discovery/stm32_usbmsc.c: fix SD card initialization
This commit is contained in:
parent
09b2e9df7a
commit
023c0d7034
|
@ -63,7 +63,7 @@ int board_usbmsc_initialize(int port)
|
|||
*/
|
||||
|
||||
#ifndef CONFIG_NSH_BUILTIN_APPS
|
||||
return stm32_sdinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1);
|
||||
return stm32_mmcsd_initialize(2, CONFIG_SYSTEM_USBMSC_DEVMINOR1);
|
||||
#else
|
||||
return OK;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue