delete useless code

This commit is contained in:
Wang_Weigen
2021-11-09 17:14:47 +08:00
parent 8609045f2a
commit b3c770dd26
3 changed files with 1 additions and 95 deletions
+1 -8
View File
@@ -100,11 +100,7 @@ struct InitSequenceDesc components_init[] =
};
struct InitSequenceDesc env_init[] =
{
// #ifdef ARCH_RISCV
// #if defined (RESOURCES_SPI_SD)|| defined(RESOURCES_SDIO )
// { "MountSDCard", MountSDCard },
// #endif
// #endif
#ifdef MOUNT_SDCARD
{ "MountSDCard", MountSDCard },
#endif
@@ -119,9 +115,6 @@ struct InitSequenceDesc env_init[] =
};
struct InitSequenceDesc communication_init[] =
{
// #ifdef BSP_USING_SDIO
// { "Stm32SdcardMount",Stm32SdcardMount },
// #endif
#ifdef BSP_USING_USBH
{ "STM32USBHostRegister", STM32USBHostRegister },
{ "hw usb", Stm32HwUsbInit },