diff options
| author | Bluebear233 <[email protected]> | 2017-01-02 19:43:55 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-02 19:43:55 +0800 |
| commit | 0d43ebffe160bb9bebf71b5550def3564f07056d (patch) | |
| tree | 42d3021e6ab044877ddbd9b8e2177d64fdd33f93 | |
| parent | 8d7686179c22c7ff727c2c73b100e79ba1cc6c9b (diff) | |
Update components.c
修正断言错误
| -rw-r--r-- | src/components.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.c b/src/components.c index 08979a027c..3ac7f403ea 100644 --- a/src/components.c +++ b/src/components.c @@ -207,7 +207,7 @@ void rt_application_init(void) tid = &main_thread; result = rt_thread_init(tid, "main", main_thread_entry, RT_NULL, main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20); - RT_ASSERT(result != RT_EOK); + RT_ASSERT(result != RT_ERROR); #endif rt_thread_startup(tid); |
