summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-08-26 11:39:14 +0000
committer[email protected] <[email protected]>2012-08-26 11:39:14 +0000
commitd5a0362bb414e975dd92d089d2de4fd11e19bc8e (patch)
treeed482eac6759bed614ca163a1c9cf3011bf3e08f /components
parente6f634955dcf69eba74d5da7fe19ecf13e7832b2 (diff)
update sdio framwork
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2261 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/drivers/sdio/mmcsd_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c
index fb742278b7..e9a2e49115 100644
--- a/components/drivers/sdio/mmcsd_core.c
+++ b/components/drivers/sdio/mmcsd_core.c
@@ -20,8 +20,12 @@
#define RT_MMCSD_STACK_SIZE 1024
#endif
#ifndef RT_MMCSD_THREAD_PREORITY
+#if (RT_THREAD_PRIORITY_MAX == 32)
+#define RT_MMCSD_THREAD_PREORITY 0x16
+#else
#define RT_MMCSD_THREAD_PREORITY 0x40
#endif
+#endif
//static struct rt_semaphore mmcsd_sem;
static struct rt_thread mmcsd_detect_thread;