fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@685 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
ea22e3fb81
commit
030b39fad4
|
@ -74,7 +74,7 @@ int mempool_simple_init()
|
||||||
for (i = 0; i < 48; i ++) ptr[i] = RT_NULL;
|
for (i = 0; i < 48; i ++) ptr[i] = RT_NULL;
|
||||||
|
|
||||||
/* 初始化内存池对象 */
|
/* 初始化内存池对象 */
|
||||||
rt_mp_init(&mp, "mp1", &mempool[0], 80, sizeof(mempool), RT_IPC_FLAG_FIFO);
|
rt_mp_init(&mp, "mp1", &mempool[0], 80, sizeof(mempool));
|
||||||
|
|
||||||
/* 创建线程1 */
|
/* 创建线程1 */
|
||||||
tid1 = rt_thread_create("t1",
|
tid1 = rt_thread_create("t1",
|
||||||
|
|
Loading…
Reference in New Issue