fix: 修复 hm_liteipc.c 处的 typo

应拼写成 Receive, 因此此处的函数名称应当是 CheckReceivedMsg.

Signed-off-by: Yalong Zou <yalongz@hust.edu.cn>
This commit is contained in:
Yalong Zou 2023-03-15 22:54:22 +08:00
parent 4ff66c7f40
commit 814f5affd0
1 changed files with 2 additions and 2 deletions

View File

@ -1094,7 +1094,7 @@ ERROR_COPY:
return ret;
}
LITE_OS_SEC_TEXT STATIC UINT32 CheckRecievedMsg(IpcListNode *node, IpcContent *content, LosTaskCB *tcb)
LITE_OS_SEC_TEXT STATIC UINT32 CheckReceivedMsg(IpcListNode *node, IpcContent *content, LosTaskCB *tcb)
{
UINT32 ret = LOS_OK;
if (node == NULL) {
@ -1184,7 +1184,7 @@ LITE_OS_SEC_TEXT STATIC UINT32 LiteIpcRead(IpcContent *content)
LOS_ListDelete(listNode);
node = LOS_DL_LIST_ENTRY(listNode, IpcListNode, listNode);
SCHEDULER_UNLOCK(intSave);
ret = CheckRecievedMsg(node, content, tcb);
ret = CheckReceivedMsg(node, content, tcb);
if (ret == LOS_OK) {
break;
}