mirror of https://github.com/rusefi/openblt.git
Refs #870. Changed function call XMC_CAN_MO_ReceiveData() to XMC_CAN_MO_Receive().
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@708 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
5f3aaf23c9
commit
cadf142286
|
@ -365,7 +365,7 @@ static void BootComCanCheckActivationRequest(void)
|
|||
if ((XMC_CAN_MO_GetStatus(&receiveMsgObj) & XMC_CAN_MO_STATUS_RX_PENDING) != 0)
|
||||
{
|
||||
/* read out and process the newly received data */
|
||||
if (XMC_CAN_MO_ReceiveData(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
if (XMC_CAN_MO_Receive(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
{
|
||||
for (byteIdx=0; byteIdx<receiveMsgObj.can_data_length; byteIdx++)
|
||||
{
|
||||
|
|
|
@ -365,7 +365,7 @@ static void BootComCanCheckActivationRequest(void)
|
|||
if ((XMC_CAN_MO_GetStatus(&receiveMsgObj) & XMC_CAN_MO_STATUS_RX_PENDING) != 0)
|
||||
{
|
||||
/* read out and process the newly received data */
|
||||
if (XMC_CAN_MO_ReceiveData(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
if (XMC_CAN_MO_Receive(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
{
|
||||
for (byteIdx=0; byteIdx<receiveMsgObj.can_data_length; byteIdx++)
|
||||
{
|
||||
|
|
|
@ -371,7 +371,7 @@ static void BootComCanCheckActivationRequest(void)
|
|||
if ((XMC_CAN_MO_GetStatus(&receiveMsgObj) & XMC_CAN_MO_STATUS_RX_PENDING) != 0)
|
||||
{
|
||||
/* read out and process the newly received data */
|
||||
if (XMC_CAN_MO_ReceiveData(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
if (XMC_CAN_MO_Receive(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
{
|
||||
for (byteIdx=0; byteIdx<receiveMsgObj.can_data_length; byteIdx++)
|
||||
{
|
||||
|
|
|
@ -371,7 +371,7 @@ static void BootComCanCheckActivationRequest(void)
|
|||
if ((XMC_CAN_MO_GetStatus(&receiveMsgObj) & XMC_CAN_MO_STATUS_RX_PENDING) != 0)
|
||||
{
|
||||
/* read out and process the newly received data */
|
||||
if (XMC_CAN_MO_ReceiveData(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
if (XMC_CAN_MO_Receive(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
{
|
||||
for (byteIdx=0; byteIdx<receiveMsgObj.can_data_length; byteIdx++)
|
||||
{
|
||||
|
|
|
@ -271,7 +271,7 @@ blt_bool CanReceivePacket(blt_int8u *data, blt_int8u *len)
|
|||
if ((XMC_CAN_MO_GetStatus(&receiveMsgObj) & XMC_CAN_MO_STATUS_RX_PENDING) != 0)
|
||||
{
|
||||
/* read out and process the newly received data */
|
||||
if (XMC_CAN_MO_ReceiveData(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
if (XMC_CAN_MO_Receive(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
{
|
||||
*len = receiveMsgObj.can_data_length;
|
||||
for (byteIdx=0; byteIdx<receiveMsgObj.can_data_length; byteIdx++)
|
||||
|
|
|
@ -275,7 +275,7 @@ blt_bool CanReceivePacket(blt_int8u *data, blt_int8u *len)
|
|||
if ((XMC_CAN_MO_GetStatus(&receiveMsgObj) & XMC_CAN_MO_STATUS_RX_PENDING) != 0)
|
||||
{
|
||||
/* read out and process the newly received data */
|
||||
if (XMC_CAN_MO_ReceiveData(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
if (XMC_CAN_MO_Receive(&receiveMsgObj) == XMC_CAN_STATUS_SUCCESS)
|
||||
{
|
||||
*len = receiveMsgObj.can_data_length;
|
||||
for (byteIdx=0; byteIdx<receiveMsgObj.can_data_length; byteIdx++)
|
||||
|
|
Loading…
Reference in New Issue