summaryrefslogtreecommitdiff
path: root/examples/kernel/tc_comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/kernel/tc_comm.c')
-rw-r--r--examples/kernel/tc_comm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/kernel/tc_comm.c b/examples/kernel/tc_comm.c
index af2da5a548..47d3435932 100644
--- a/examples/kernel/tc_comm.c
+++ b/examples/kernel/tc_comm.c
@@ -135,8 +135,7 @@ void tc_start(const char* tc_prefix)
}
rt_memset(_tc_prefix, 0, sizeof(_tc_prefix));
- rt_snprintf(_tc_prefix, sizeof(_tc_prefix),
- "_tc_%s", tc_prefix);
+ rt_snprintf(_tc_prefix, sizeof(_tc_prefix), "_tc_%s", tc_prefix);
result = rt_thread_init(&_tc_thread, "tc",
tc_thread_entry, RT_NULL,