Skip to content

Commit

Permalink
Updated RX portable layer for backward compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: RESG_XX <xiao-xuan.ngew.xc@renesas.com>
  • Loading branch information
xuan97z1 committed Sep 5, 2024
1 parent d701079 commit e3c75af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/portable/NetworkInterface/RX/NetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ void prvLinkStatusChange( BaseType_t xStatus );

/*-----------------------------------------------------------*/

#if ( ipconfigIPv4_BACKWARD_COMPATIBLE != 0 )
NetworkInterface_t * pxRX_FillInterfaceDescriptor( BaseType_t xEMACIndex,
NetworkInterface_t * pxInterface );
#endif

/* Function to initialise the network interface */
BaseType_t xRX_NetworkInterfaceInitialise( NetworkInterface_t * pxInterface );
Expand Down Expand Up @@ -136,6 +138,14 @@ NetworkInterface_t * pxRX_FillInterfaceDescriptor( BaseType_t xEMACIndex,
return pxInterface;
}

#if ( ipconfigIPv4_BACKWARD_COMPATIBLE != 0 )
NetworkInterface_t * pxFillInterfaceDescriptor( BaseType_t xEMACIndex,
NetworkInterface_t * pxInterface )
{
return pxRX_FillInterfaceDescriptor( xEMACIndex, pxInterface );
}
#endif

/***********************************************************************************************************************
* Function Name: xRX_NetworkInterfaceInitialise ()
* Description : Initialization of Ethernet driver.
Expand Down

0 comments on commit e3c75af

Please sign in to comment.