Remove unneeded dependency on USB

This commit is contained in:
Miguel Herranz 2020-02-14 02:14:30 +01:00 committed by Xiang Xiao
parent 1200c6d429
commit 7f1f930a7b

View File

@ -54,15 +54,8 @@
/* Configuration ************************************************************/ /* Configuration ************************************************************/
#undef NSH_HAVEUSBDEV
#define NSH_HAVEMMCSD 1 #define NSH_HAVEMMCSD 1
/* Can't support USB features if USB is not enabled */
#ifndef CONFIG_USBDEV
# undef NSH_HAVEUSBDEV
#endif
/* Can't support MMC/SD features if mountpoints or MMC/SPI are disabled */ /* Can't support MMC/SD features if mountpoints or MMC/SPI are disabled */
#if defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_MMCSD_SPI) #if defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_MMCSD_SPI)