diff --git a/src/components.c b/src/components.c index 6d9f19742f4bdbab32b83d3c03bbfea9c4397b63..a73efa37b14abb7f903dcd9f8de55fb36c5db1d7 100644 --- a/src/components.c +++ b/src/components.c @@ -215,8 +215,8 @@ void rt_application_init(void) main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20); RT_ASSERT(result == RT_EOK); - /* if not define RT_USING_HEAP, using to eliminate the warning */ - (void)result; + /* if not define RT_USING_HEAP, using to eliminate the warning */ + (void)result; #endif rt_thread_startup(tid);