Browse Source

通过显示栈顶指针来显示调用方

paint_robot_new-v1.5
Lizongdi 2 weeks ago
parent
commit
eecbeaabfb
  1. 2
      RBcore/msg_center.c

2
RBcore/msg_center.c

@ -207,7 +207,7 @@ int MsgCenter_Send(const Msg_t *pstMsg)
{ {
// 发送信号量,通知有新消息 // 发送信号量,通知有新消息
Rd_SemPost(&g_astModules[iDstIndex].stSem, __func__, NULL); Rd_SemPost(&g_astModules[iDstIndex].stSem, __func__, NULL);
log_d("send success send ID:%x to %d", pstMsg->m_uiMsgID, pstMsg->m_uiDstModule); log_d("[%p] send success ID:%x to %d", __builtin_return_address(0), pstMsg->m_uiMsgID, pstMsg->m_uiDstModule);
return RD_SUCCESS; return RD_SUCCESS;
} }

Loading…
Cancel
Save