mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 03:30:26 +08:00
Revert to RT_IPC_FLAG_PRIO.
This commit is contained in:
parent
7e6ffd3447
commit
600e67f952
@ -711,7 +711,7 @@ struct rt_mmcsd_host *mmcsd_alloc_host(void)
|
||||
host->id = allocated_host_num;
|
||||
allocated_host_num++;
|
||||
|
||||
rt_mutex_init(&host->bus_lock, "sd_bus_lock", RT_IPC_FLAG_FIFO);
|
||||
rt_mutex_init(&host->bus_lock, "sd_bus_lock", RT_IPC_FLAG_PRIO);
|
||||
rt_sem_init(&host->sem_ack, "sd_ack", 0, RT_IPC_FLAG_FIFO);
|
||||
|
||||
return host;
|
||||
|
Loading…
x
Reference in New Issue
Block a user