mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
Remove ipLOCAL_MAC_ADDRESS from demo files (#1244)
* Remove ipLOCAL_MAC_ADDRESS from demo files * Add return variable for IP_Init fucntions
This commit is contained in:
parent
8582188293
commit
a004a21b13
5 changed files with 20 additions and 11 deletions
|
@ -228,7 +228,7 @@ void vPlatformInitIpStack( void )
|
|||
xEndPoints[ 0 ].bits.bWantDHCP = pdTRUE;
|
||||
}
|
||||
#endif /* ( ipconfigUSE_DHCP != 0 ) */
|
||||
memcpy( ipLOCAL_MAC_ADDRESS, ucMACAddress, sizeof( ucMACAddress ) );
|
||||
|
||||
xResult = FreeRTOS_IPInit_Multi();
|
||||
#else /* if defined( ipconfigIPv4_BACKWARD_COMPATIBLE ) && ( ipconfigIPv4_BACKWARD_COMPATIBLE == 0 ) */
|
||||
/* Using the old /single /IPv4 library, or using backward compatible mode of the new /multi library. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue