|
@@ -20,8 +20,12 @@
|
|
#define RT_MMCSD_STACK_SIZE 1024
|
|
#define RT_MMCSD_STACK_SIZE 1024
|
|
#endif
|
|
#endif
|
|
#ifndef RT_MMCSD_THREAD_PREORITY
|
|
#ifndef RT_MMCSD_THREAD_PREORITY
|
|
|
|
+#if (RT_THREAD_PRIORITY_MAX == 32)
|
|
|
|
+#define RT_MMCSD_THREAD_PREORITY 0x16
|
|
|
|
+#else
|
|
#define RT_MMCSD_THREAD_PREORITY 0x40
|
|
#define RT_MMCSD_THREAD_PREORITY 0x40
|
|
#endif
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
|
|
//static struct rt_semaphore mmcsd_sem;
|
|
//static struct rt_semaphore mmcsd_sem;
|
|
static struct rt_thread mmcsd_detect_thread;
|
|
static struct rt_thread mmcsd_detect_thread;
|