Fixup for error in last commit. An #endif to many was deleted in some header files.

This commit is contained in:
Gregory Nutt 2019-02-12 20:44:07 -06:00
parent 967dc523bb
commit 9e710ce457
4 changed files with 5 additions and 4 deletions

View File

@ -139,7 +139,6 @@
#define SDIO_SLOTNO 0 /* Only one slot */
#ifdef HAVE_SDIO
# if defined(CONFIG_STM32F7_SDMMC1)
# define GPIO_SDMMC1_NCD (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI | GPIO_PORTC | GPIO_PIN6)
# endif
@ -154,6 +153,7 @@
# else
# define SDIO_MINOR 0
# endif
#endif
/* USB OTG FS
*

View File

@ -139,7 +139,6 @@
#define SDIO_SLOTNO 0 /* Only one slot */
#ifdef HAVE_SDIO
# if defined(CONFIG_STM32L4_SDMMC1)
# define GPIO_SDMMC1_NCD (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI | GPIO_PORTC | GPIO_PIN6)
# endif
@ -154,6 +153,7 @@
# else
# define SDIO_MINOR 0
# endif
#endif
/* USB OTG FS
*

View File

@ -47,6 +47,7 @@
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
#define HAVE_USBDEV 1
@ -103,7 +104,6 @@
#define SDIO_SLOTNO 0 /* Only one slot */
#ifdef HAVE_SDIO
# if defined(CONFIG_NSH_MMCSDSLOTNO) && CONFIG_NSH_MMCSDSLOTNO != 0
# warning Only one MMC/SD slot, slot 0
# define CONFIG_NSH_MMCSDSLOTNO SDIO_SLOTNO
@ -114,6 +114,7 @@
# else
# define SDIO_MINOR 0
# endif
#endif
/* Check if we can support the RTC driver */

View File

@ -123,7 +123,6 @@
#define SDIO_SLOTNO 0 /* Only one slot */
#ifdef HAVE_SDIO
# if !defined(CONFIG_NSH_MMCSDSLOTNO)
# define CONFIG_NSH_MMCSDSLOTNO SDIO_SLOTNO
# elif CONFIG_NSH_MMCSDSLOTNO != 0
@ -137,6 +136,7 @@
# else
# define SDIO_MINOR 0
# endif
#endif
/* The CS43L22 depends on the CS43L22 driver, I2C1, and I2S3 support */