summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorsbb <[email protected]>2022-12-17 12:51:09 +0800
committerGitHub <[email protected]>2022-12-16 23:51:09 -0500
commit961b020bc2561a24e01b894d39c81b91ff5513c4 (patch)
tree1cda1316c9b721f5ac8ea803d290835efe672a9f /documentation
parent68ca9f07a60ad5cbe52b37b52299327b6246e7f7 (diff)
documention里的一处小问题 (#6748)
* Update thread-comm.md * Update documentation/thread-comm/thread-comm.md Co-authored-by: Man, Jianting (Meco) <[email protected]>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/thread-comm/thread-comm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/thread-comm/thread-comm.md b/documentation/thread-comm/thread-comm.md
index 36ca46c2a8..f9293b599f 100644
--- a/documentation/thread-comm/thread-comm.md
+++ b/documentation/thread-comm/thread-comm.md
@@ -235,7 +235,7 @@ static void thread1_entry(void *parameter)
if (rt_mb_recv(&mb, (rt_uint32_t *)&str, RT_WAITING_FOREVER) == RT_EOK)
{
rt_kprintf("thread1: get a mail from mailbox, the content:%s\n", str);
- if (str == mb_str3)
+ if(!strcmp(str, mb_str3))
break;
/* Delay 100ms */