summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-20 13:34:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-20 13:34:04 +0000
commit0f775d5711a3b6cf2815ab3cbd9da580a587d2df (patch)
treec62d1f217a6c2f17049bd6344b201c35e6bee707 /nuttx/configs/shenzhou
parent5035b7378f06c3187cac0308fa8c5a76e2b5baef (diff)
downloadpx4-nuttx-0f775d5711a3b6cf2815ab3cbd9da580a587d2df.tar.gz
px4-nuttx-0f775d5711a3b6cf2815ab3cbd9da580a587d2df.tar.bz2
px4-nuttx-0f775d5711a3b6cf2815ab3cbd9da580a587d2df.zip
0001-RS-485-support-for-STM32-serial-driver.patch from Freddi Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5371 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou')
-rw-r--r--nuttx/configs/shenzhou/src/up_mmcsd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/shenzhou/src/up_mmcsd.c b/nuttx/configs/shenzhou/src/up_mmcsd.c
index 531fbfd7e..adf695cd5 100644
--- a/nuttx/configs/shenzhou/src/up_mmcsd.c
+++ b/nuttx/configs/shenzhou/src/up_mmcsd.c
@@ -65,6 +65,12 @@
# endif
#endif
+/* Can't support MMC/SD features if MMC/SD driver support is not selected */
+
+#ifndef CONFIG_MMCSD
+# undef HAVE_MMCSD
+#endif
+
/* Can't support MMC/SD features if mountpoints are disabled */
#ifdef CONFIG_DISABLE_MOUNTPOINT