Skip to content

Commit 500f024

Browse files
committed
macro spelling error with sdio
1 parent 81a0842 commit 500f024

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

bsp/k230/rtconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
#define RT_SDIO_STACK_SIZE 8192
157157
#define RT_SDIO_THREAD_PRIORITY 15
158158
#define RT_MMCSD_STACK_SIZE 8192
159-
#define RT_MMCSD_THREAD_PREORITY 22
159+
#define RT_MMCSD_THREAD_PRIORITY 22
160160
#define RT_MMCSD_MAX_PARTITION 16
161161
#define RT_USING_PIN
162162
#define RT_USING_KTIME

components/drivers/sdio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ config RT_USING_SDIO
1616
int "The stack size for mmcsd thread"
1717
default 1024
1818

19-
config RT_MMCSD_THREAD_PREORITY
19+
config RT_MMCSD_THREAD_PRIORITY
2020
int "The priority level value of mmcsd thread"
2121
default 22
2222

components/drivers/sdio/dev_mmcsd_core.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
#ifndef RT_MMCSD_STACK_SIZE
2727
#define RT_MMCSD_STACK_SIZE 1024
2828
#endif
29-
#ifndef RT_MMCSD_THREAD_PREORITY
29+
#ifndef RT_MMCSD_THREAD_PRIORITY
3030
#if (RT_THREAD_PRIORITY_MAX == 32)
31-
#define RT_MMCSD_THREAD_PREORITY 0x16
31+
#define RT_MMCSD_THREAD_PRIORITY 0x16
3232
#else
33-
#define RT_MMCSD_THREAD_PREORITY 0x40
33+
#define RT_MMCSD_THREAD_PRIORITY 0x40
3434
#endif
3535
#endif
3636

@@ -767,7 +767,7 @@ int rt_mmcsd_core_init(void)
767767
RT_IPC_FLAG_FIFO);
768768
RT_ASSERT(ret == RT_EOK);
769769
ret = rt_thread_init(&mmcsd_detect_thread, "mmcsd_detect", mmcsd_detect, RT_NULL,
770-
&mmcsd_stack[0], RT_MMCSD_STACK_SIZE, RT_MMCSD_THREAD_PREORITY, 20);
770+
&mmcsd_stack[0], RT_MMCSD_STACK_SIZE, RT_MMCSD_THREAD_PRIORITY, 20);
771771
if (ret == RT_EOK)
772772
{
773773
rt_thread_startup(&mmcsd_detect_thread);

0 commit comments

Comments
 (0)