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:
Rahul Kar 2024-08-14 11:56:38 +05:30 committed by GitHub
parent 8582188293
commit a004a21b13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 11 deletions

View file

@ -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. */