stm32f4discovery/stm32_usbmsc.c: fix SD card initialization

This commit is contained in:
raiden00pl 2023-04-03 16:07:17 +02:00 committed by Xiang Xiao
parent 09b2e9df7a
commit 023c0d7034
1 changed files with 1 additions and 1 deletions

View File

@ -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