diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-10 20:00:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-10 20:00:04 +0000 |
commit | c0e51eccc5bc5ce6743572f97cfc9d13fc13ceab (patch) | |
tree | 416516f21abef14bf01587a6f93c6b02ac369255 /nuttx/configs/shenzhou/src/up_mmcsd.c | |
parent | 4f03177a72a65beeca2e40185d2e2fa97f24bc11 (diff) | |
download | px4-nuttx-c0e51eccc5bc5ce6743572f97cfc9d13fc13ceab.tar.gz px4-nuttx-c0e51eccc5bc5ce6743572f97cfc9d13fc13ceab.tar.bz2 px4-nuttx-c0e51eccc5bc5ce6743572f97cfc9d13fc13ceab.zip |
More M3 Wildfire logic; mmap-related bug fixes from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5124 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou/src/up_mmcsd.c')
-rw-r--r-- | nuttx/configs/shenzhou/src/up_mmcsd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/configs/shenzhou/src/up_mmcsd.c b/nuttx/configs/shenzhou/src/up_mmcsd.c index 3de7f2620..daa149817 100644 --- a/nuttx/configs/shenzhou/src/up_mmcsd.c +++ b/nuttx/configs/shenzhou/src/up_mmcsd.c @@ -53,7 +53,7 @@ /* Configuration ************************************************************/ /* SPI1 connects to the SD CARD (and to the SPI FLASH) */ -#define HAVE_MMCSD 1 /* Assume that we have SD support */ +#define HAVE_MMCSD 1 /* Assume that we have SD support */ #define STM32_MMCSDSPIPORTNO 1 /* Port is SPI1 */ #define STM32_MMCSDSLOTNO 0 /* There is only one slot */ @@ -68,7 +68,7 @@ /* Can't support MMC/SD features if mountpoints are disabled */ #ifndef CONFIG_DISABLE_MOUNTPOINT -# undef NSH_HAVEMMCSD +# undef HAVE_MMCSD #endif /**************************************************************************** @@ -121,3 +121,4 @@ int stm32_sdinitialize(int minor) #endif return OK; } + |