修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题

This commit is contained in:
yixinghua121
2025-03-12 16:02:43 +08:00
committed by GitHub
parent 88607c1404
commit 983f02151a
98 changed files with 105 additions and 105 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ static struct dfs_dentry *_dentry_create(struct dfs_mnt *mnt, char *path, rt_boo
rt_atomic_store(&(dentry->ref_count), 1);
dentry->flags |= DENTRY_IS_ALLOCED;
LOG_I("create a dentry:%p for %s", dentry, fullpath);
LOG_I("create a dentry:%p for %s", dentry, mnt->fullpath);
}
return dentry;
+1 -1
View File
@@ -16,7 +16,7 @@ config RT_USING_SDIO
int "The stack size for mmcsd thread"
default 1024
config RT_MMCSD_THREAD_PREORITY
config RT_MMCSD_THREAD_PRIORITY
int "The priority level value of mmcsd thread"
default 22
+4 -4
View File
@@ -26,11 +26,11 @@
#ifndef RT_MMCSD_STACK_SIZE
#define RT_MMCSD_STACK_SIZE 1024
#endif
#ifndef RT_MMCSD_THREAD_PREORITY
#ifndef RT_MMCSD_THREAD_PRIORITY
#if (RT_THREAD_PRIORITY_MAX == 32)
#define RT_MMCSD_THREAD_PREORITY 0x16
#define RT_MMCSD_THREAD_PRIORITY 0x16
#else
#define RT_MMCSD_THREAD_PREORITY 0x40
#define RT_MMCSD_THREAD_PRIORITY 0x40
#endif
#endif
@@ -767,7 +767,7 @@ int rt_mmcsd_core_init(void)
RT_IPC_FLAG_FIFO);
RT_ASSERT(ret == RT_EOK);
ret = rt_thread_init(&mmcsd_detect_thread, "mmcsd_detect", mmcsd_detect, RT_NULL,
&mmcsd_stack[0], RT_MMCSD_STACK_SIZE, RT_MMCSD_THREAD_PREORITY, 20);
&mmcsd_stack[0], RT_MMCSD_STACK_SIZE, RT_MMCSD_THREAD_PRIORITY, 20);
if (ret == RT_EOK)
{
rt_thread_startup(&mmcsd_detect_thread);