|
@@ -237,7 +237,7 @@ void canctrl::sharecanmsg(void *xpa, basecan_msg * pxmsg,int ncount,int nch)
|
|
|
|
|
|
int nsize = xmsg.ByteSize();
|
|
int nsize = xmsg.ByteSize();
|
|
char * strdata = new char[xmsg.ByteSize()];
|
|
char * strdata = new char[xmsg.ByteSize()];
|
|
- if(xmsg.SerializePartialToArray(strdata,nsize))
|
|
|
|
|
|
+ if(xmsg.SerializeToArray(strdata,nsize))
|
|
{
|
|
{
|
|
iv::modulecomm::ModuleSendMsg(xpa,strdata,nsize);
|
|
iv::modulecomm::ModuleSendMsg(xpa,strdata,nsize);
|
|
}
|
|
}
|