diff options
| author | bernard.xiong <[email protected]> | 2010-05-02 12:06:28 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-05-02 12:06:28 +0000 |
| commit | 030b39fad45adf285e9d4fb39bb6002210635afd (patch) | |
| tree | 2d4f982be2fa3a777780d8b3c9a9538fdf278fc9 /examples/kernel/memp_simple.c | |
| parent | ea22e3fb815d6f858add0a59087ce5c8da7312b9 (diff) | |
fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@685 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/kernel/memp_simple.c')
| -rw-r--r-- | examples/kernel/memp_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/kernel/memp_simple.c b/examples/kernel/memp_simple.c index 9d7bfd0000..4fc7d89f0f 100644 --- a/examples/kernel/memp_simple.c +++ b/examples/kernel/memp_simple.c @@ -74,7 +74,7 @@ int mempool_simple_init() 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 */ tid1 = rt_thread_create("t1", |
