mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 09:17:44 -04:00
commit 2 after gary's comments
This commit is contained in:
parent
75677a8d85
commit
c381861014
1 changed files with 1 additions and 5 deletions
|
@ -674,11 +674,7 @@ void vARPGenerateRequestPacket(NetworkBufferDescriptor_t* const pxNetworkBuffer)
|
|||
|
||||
void FreeRTOS_ClearARP(void)
|
||||
{
|
||||
/* Function requires the second argument to be an int.
|
||||
*
|
||||
* MISRA rule 17.7 relaxed. The return value is not
|
||||
* required to be used. Also improves readability */
|
||||
memset(xARPCache, (int)'\0', sizeof(xARPCache));
|
||||
memset(xARPCache, 0, sizeof(xARPCache));
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue