浏览代码

update sdio framwork

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2261 bbd45198-f89e-11dd-88c7-29a3b14d5316
luohui2320@gmail.com 12 年之前
父节点
当前提交
d5a0362bb4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      components/drivers/sdio/mmcsd_core.c

+ 4 - 0
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;