This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6670用messageQ定义自己的消息时出错



Description Resource Path Location Type
#169 argument of type "struct Mymessage *" is incompatible with parameter of type "MessageQ_Msg *" message_multicore.c /123 line 172 C/C++ Problem

put和get和MessageQ_alloc都有这问题。

用的是CCS5.3软仿

struct Mymessage
{
MessageQ_MsgHeader header;
int idx[10];
int loops;

}msg;

第172行status = MessageQ_get(messageQ, &msg, MessageQ_FOREVER);