diff options
| author | yixinghua121 <[email protected]> | 2025-03-12 16:02:43 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-12 16:02:43 +0800 |
| commit | 983f02151af42c5ef8ac5718bda0cf39795652a9 (patch) | |
| tree | c642d5c746d3d7833a0b5fdb2851c458ca8c1f40 /components | |
| parent | 88607c1404b882b6a10267b9d7efb661c9a63c5c (diff) | |
修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/dfs_v2/src/dfs_dentry.c | 2 | ||||
| -rw-r--r-- | components/drivers/sdio/Kconfig | 2 | ||||
| -rw-r--r-- | components/drivers/sdio/dev_mmcsd_core.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/components/dfs/dfs_v2/src/dfs_dentry.c b/components/dfs/dfs_v2/src/dfs_dentry.c index 8623ec051f..345c03db5a 100644 --- a/components/dfs/dfs_v2/src/dfs_dentry.c +++ b/components/dfs/dfs_v2/src/dfs_dentry.c @@ -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; diff --git a/components/drivers/sdio/Kconfig b/components/drivers/sdio/Kconfig index dd1fe0a593..b0c28869db 100644 --- a/components/drivers/sdio/Kconfig +++ b/components/drivers/sdio/Kconfig @@ -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 diff --git a/components/drivers/sdio/dev_mmcsd_core.c b/components/drivers/sdio/dev_mmcsd_core.c index 33072c10dd..dad5fe09a3 100644 --- a/components/drivers/sdio/dev_mmcsd_core.c +++ b/components/drivers/sdio/dev_mmcsd_core.c @@ -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); |
