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:
Frank Voorburg 2019-07-31 13:30:40 +00:00
parent 5f3aaf23c9
commit cadf142286
6 changed files with 6 additions and 6 deletions

View File

@ -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++)
{

View File

@ -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++)
{

View File

@ -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++)
{

View File

@ -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++)
{

View File

@ -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++)

View File

@ -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++)