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
master
Frank Voorburg 4 years ago
parent 5f3aaf23c9
commit cadf142286
  1. 2
      Target/Demo/ARMCM0_XMC1_XMC1400_Boot_Kit_GCC/Prog/boot.c
  2. 2
      Target/Demo/ARMCM0_XMC1_XMC1400_Boot_Kit_IAR/Prog/boot.c
  3. 2
      Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/boot.c
  4. 2
      Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_IAR/Prog/boot.c
  5. 2
      Target/Source/ARMCM0_XMC1/can.c
  6. 2
      Target/Source/ARMCM4_XMC4/can.c

@ -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…
Cancel
Save